Lines Matching refs:session_ctx
827 s->session_ctx = ctx; in ossl_ssl_connection_new_int()
1064 if (!CRYPTO_THREAD_read_lock(sc->session_ctx->lock)) in SSL_has_matching_session_id()
1066 p = lh_SSL_SESSION_retrieve(sc->session_ctx->sessions, &r); in SSL_has_matching_session_id()
1067 CRYPTO_THREAD_unlock(sc->session_ctx->lock); in SSL_has_matching_session_id()
1444 SSL_CTX_free(s->session_ctx); in ossl_ssl_connection_free()
4650 i = s->session_ctx->session_cache_mode; in ssl_update_cache()
4669 || s->session_ctx->remove_session_cb != NULL in ssl_update_cache()
4671 SSL_CTX_add_session(s->session_ctx, s->session); in ssl_update_cache()
4678 if (s->session_ctx->new_session_cb != NULL) { in ssl_update_cache()
4680 if (!s->session_ctx->new_session_cb(SSL_CONNECTION_GET_USER_SSL(s), in ssl_update_cache()
4691 stat = &s->session_ctx->stats.sess_connect_good; in ssl_update_cache()
4693 stat = &s->session_ctx->stats.sess_accept_good; in ssl_update_cache()
4694 if ((ssl_tsan_load(s->session_ctx, stat) & 0xff) == 0xff) in ssl_update_cache()
4695 SSL_CTX_flush_sessions_ex(s->session_ctx, time(NULL)); in ssl_update_cache()
5387 ctx = sc->session_ctx; in SSL_set_SSL_CTX()