MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / SSL_set_session

Function SSL_set_session

extra/yassl/src/ssl.cpp:489–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487
488
489int SSL_set_session(SSL* ssl, SSL_SESSION* session)
490{
491 if (ssl->getSecurity().GetContext()->GetSessionCacheOff())
492 return SSL_FAILURE;
493
494 ssl->set_session(session);
495 return SSL_SUCCESS;
496}
497
498
499int SSL_session_reused(SSL* ssl)

Callers 1

client_testFunction · 0.85

Calls 3

GetSessionCacheOffMethod · 0.80
GetContextMethod · 0.80
set_sessionMethod · 0.80

Tested by

no test coverage detected