diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-21 04:50:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-21 04:50:18 +0000 |
commit | d059d718b505bacbf7af6e9c473eb95391d481d0 (patch) | |
tree | 7d4cdd7df6c1fd25a31f88df68c52ad4cbda5e05 /test/openssl/test_ssl.rb | |
parent | 9bb6a05283ce7f3deb57c707b16c60b43abd3e97 (diff) | |
download | ruby-d059d718b505bacbf7af6e9c473eb95391d481d0.tar.gz |
remove trainling spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_ssl.rb')
-rw-r--r-- | test/openssl/test_ssl.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 97a3a46169..b72e75ed41 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -412,7 +412,7 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase # SSL/TLS version that has been marked as forbidden, therefore either of # these may be raised FORBIDDEN_PROTOCOL_ERRORS = [OpenSSL::SSL::SSLError, Errno::ECONNRESET] - + if OpenSSL::SSL::SSLContext::METHODS.include? :TLSv1 def test_forbid_ssl_v3_for_client @@ -515,7 +515,7 @@ end } } end - + private def start_server_version(version, ctx_proc=nil, server_proc=nil, &blk) @@ -524,11 +524,11 @@ end ctx_proc.call(ctx) if ctx_proc } start_server( - PORT, - OpenSSL::SSL::VERIFY_NONE, - true, - :ctx_proc => ctx_wrap, - :server_proc => server_proc, + PORT, + OpenSSL::SSL::VERIFY_NONE, + true, + :ctx_proc => ctx_wrap, + :server_proc => server_proc, &blk ) end |