Lines Matching refs:session_ctx
369 session->timeout = ssl->session_ctx->session_psk_dhe_timeout; in ssl_get_new_session()
374 session->timeout = ssl->session_ctx->session_timeout; in ssl_get_new_session()
375 session->auth_timeout = ssl->session_ctx->session_timeout; in ssl_get_new_session()
478 SSL_CTX *tctx = hs->ssl->session_ctx.get(); in ssl_encrypt_ticket_with_cipher_ctx()
543 const SSL_TICKET_AEAD_METHOD *method = ssl->session_ctx->ticket_aead_method; in ssl_encrypt_ticket_with_method()
580 if (hs->ssl->session_ctx->ticket_aead_method) { in ssl_encrypt_ticket()
654 if (!(ssl->session_ctx->session_cache_mode & in ssl_lookup_session()
664 MutexReadLock lock(&ssl->session_ctx->lock); in ssl_lookup_session()
666 session = UpRef(lh_SSL_SESSION_retrieve_key(ssl->session_ctx->sessions, in ssl_lookup_session()
672 if (!session && ssl->session_ctx->get_session_cb != nullptr) { in ssl_lookup_session()
674 session.reset(ssl->session_ctx->get_session_cb(ssl, session_id.data(), in ssl_lookup_session()
694 if (!(ssl->session_ctx->session_cache_mode & in ssl_lookup_session()
696 SSL_CTX_add_session(ssl->session_ctx.get(), session.get()); in ssl_lookup_session()
702 SSL_CTX_remove_session(ssl->session_ctx.get(), session.get()); in ssl_lookup_session()