| 1448 | |
| 1449 | |
| 1450 | void 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 | |
| 1462 | const Crypto& SSL::getCrypto() const |
no test coverage detected