Project

General

Profile

Bug #11367 ยป 0005-Use-OP_NO_TICKET-when-testing-SSL-session-cache-call.patch

jeremyevans0 (Jeremy Evans), 07/17/2015 09:36 PM

View differences:

test/openssl/test_ssl_session.rb
ctx_proc = Proc.new { |ctx, ssl|
ctx.session_cache_mode = OpenSSL::SSL::SSLContext::SESSION_CACHE_SERVER
ctx.options = OpenSSL::SSL::OP_NO_TICKET
last_server_session = nil
# get_cb is called whenever a client proposed to resume a session but
    (1-1/1)