| 186 | ssl_get_cached_session(SSL *ssl, unsigned char *id, int len, int *copy) |
| 187 | #else |
| 188 | ssl_get_cached_session(SSL *ssl, const unsigned char *id, int len, int *copy) |
| 189 | #endif |
| 190 | { |
| 191 | TLSSessionResumptionSupport *srs = TLSSessionResumptionSupport::getInstance(ssl); |
| 192 | |
| 193 | ink_assert(srs); |
| 194 | if (srs) { |
| 195 | return srs->getSession(ssl, id, len, copy); |
| 196 | } |
| 197 | |
| 198 | return nullptr; |
| 199 | } |
| 200 | |
| 201 | static int |
| 202 | ssl_new_cached_session(SSL *ssl, SSL_SESSION *sess) |
nothing calls this directly
no test coverage detected