Home
last modified time | relevance | path

Searched refs:initial_ctx (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/ssl/
Dssl_session.c313 if (ssl->initial_ctx->session_timeout != 0) { in ssl_get_new_session()
314 session->timeout = ssl->initial_ctx->session_timeout; in ssl_get_new_session()
374 if (!(ssl->initial_ctx->session_cache_mode & in ssl_lookup_session()
381 CRYPTO_MUTEX_lock_read(&ssl->initial_ctx->lock); in ssl_lookup_session()
382 session = lh_SSL_SESSION_retrieve(ssl->initial_ctx->sessions, &data); in ssl_lookup_session()
387 CRYPTO_MUTEX_unlock(&ssl->initial_ctx->lock); in ssl_lookup_session()
396 if (ssl->initial_ctx->get_session_cb == NULL) { in ssl_lookup_session()
400 session = ssl->initial_ctx->get_session_cb(ssl, (uint8_t *)session_id, in ssl_lookup_session()
418 if (!(ssl->initial_ctx->session_cache_mode & in ssl_lookup_session()
420 SSL_CTX_add_session(ssl->initial_ctx, session); in ssl_lookup_session()
[all …]
Dt1_lib.c2420 } else if (ssl->initial_ctx != NULL && in ssl_check_clienthello_tlsext()
2421 ssl->initial_ctx->tlsext_servername_callback != 0) { in ssl_check_clienthello_tlsext()
2422 ret = ssl->initial_ctx->tlsext_servername_callback( in ssl_check_clienthello_tlsext()
2423 ssl, &al, ssl->initial_ctx->tlsext_servername_arg); in ssl_check_clienthello_tlsext()
2451 } else if (ssl->initial_ctx != NULL && in ssl_check_serverhello_tlsext()
2452 ssl->initial_ctx->tlsext_servername_callback != 0) { in ssl_check_serverhello_tlsext()
2453 ret = ssl->initial_ctx->tlsext_servername_callback( in ssl_check_serverhello_tlsext()
2454 ssl, &al, ssl->initial_ctx->tlsext_servername_arg); in ssl_check_serverhello_tlsext()
2491 SSL_CTX *ssl_ctx = ssl->initial_ctx; in tls_process_ticket()
Dssl_lib.c393 ssl->initial_ctx = ctx; in SSL_new()
494 SSL_CTX_free(ssl->initial_ctx); in SSL_free()
1749 SSL_CTX *ctx = ssl->initial_ctx; in ssl_update_cache()
1958 ctx = ssl->initial_ctx; in SSL_set_SSL_CTX()
Ds3_srvr.c2009 SSL_CTX *tctx = ssl->initial_ctx; in ssl3_send_new_session_ticket()
/external/boringssl/src/include/openssl/
Dssl.h3837 SSL_CTX *initial_ctx; /* initial ctx, used to store sessions */ member