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

Function SSL_get_session

extra/yassl/src/ssl.cpp:479–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477
478
479SSL_SESSION* SSL_get_session(SSL* ssl)
480{
481 if (ssl->getSecurity().GetContext()->GetSessionCacheOff())
482 return 0;
483
484 return GetSessions().lookup(
485 ssl->getSecurity().get_connection().sessionID_);
486}
487
488
489int SSL_set_session(SSL* ssl, SSL_SESSION* session)

Callers 2

SSL_get1_sessionFunction · 0.85
client_testFunction · 0.85

Calls 3

GetSessionCacheOffMethod · 0.80
GetContextMethod · 0.80
lookupMethod · 0.80

Tested by

no test coverage detected