Lines Matching refs:SSL_SESSION
884 static void AppendSession(SSL_SESSION *session, void *arg) { in AppendSession()
885 std::vector<SSL_SESSION*> *out = in AppendSession()
886 reinterpret_cast<std::vector<SSL_SESSION*>*>(arg); in AppendSession()
893 const std::vector<SSL_SESSION*> &expected) { in ExpectCache()
895 SSL_SESSION *ptr = ctx->session_cache_head; in ExpectCache()
896 for (SSL_SESSION *session : expected) { in ExpectCache()
902 reinterpret_cast<SSL_SESSION *>(&ctx->session_cache_tail)) { in ExpectCache()
913 std::vector<SSL_SESSION*> actual, expected_copy; in ExpectCache()
939 explicit ScopedSessionVector(std::vector<SSL_SESSION*> *sessions) in ScopedSessionVector()
943 for (SSL_SESSION *session : *sessions_) { in ~ScopedSessionVector()
949 std::vector<SSL_SESSION*> *const sessions_;
960 std::vector<SSL_SESSION*> sessions; in TestInternalSessionCache()
973 for (SSL_SESSION *session : sessions) { in TestInternalSessionCache()
980 std::vector<SSL_SESSION*> expected; in TestInternalSessionCache()