diff options
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 |