ruby/ruby-2.3.0-fix-test-ctx-client-session-cb.patch

14 lines
498 B
Diff
Raw Normal View History

Index: test/openssl/test_ssl_session.rb
===================================================================
--- test/openssl/test_ssl_session.rb (revision 49098)
+++ test/openssl/test_ssl_session.rb (revision 49099)
@@ -278,7 +278,7 @@
def test_ctx_client_session_cb
called = {}
- ctx = OpenSSL::SSL::SSLContext.new("SSLv3")
+ ctx = OpenSSL::SSL::SSLContext.new
ctx.session_cache_mode = OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT
ctx.session_new_cb = lambda { |ary|