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

Method set_session

extra/yassl/src/yassl_int.cpp:1450–1459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1448
1449
1450void SSL::set_session(SSL_SESSION* s)
1451{
1452 if (getSecurity().GetContext()->GetSessionCacheOff())
1453 return;
1454
1455 if (s && GetSessions().lookup(s->GetID(), &secure_.use_resume())) {
1456 secure_.set_resuming(true);
1457 crypto_.use_certManager().setPeerX509(s->GetPeerX509());
1458 }
1459}
1460
1461
1462const Crypto& SSL::getCrypto() const

Callers 2

ProcessMethod · 0.80
SSL_set_sessionFunction · 0.80

Calls 7

GetSessionCacheOffMethod · 0.80
GetContextMethod · 0.80
lookupMethod · 0.80
GetIDMethod · 0.80
set_resumingMethod · 0.80
setPeerX509Method · 0.80
GetPeerX509Method · 0.80

Tested by

no test coverage detected