Bug #11367 ยป 0005-Use-OP_NO_TICKET-when-testing-SSL-session-cache-call.patch
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
|