Home
last modified time | relevance | path

Searched refs:psksess (Results 1 – 3 of 3) sorted by relevance

/openssl/ssl/statem/
H A Dextensions_clnt.c784 SSL_SESSION *psksess = NULL; in tls_construct_ctos_early_data() local
794 || (psksess != NULL in tls_construct_ctos_early_data()
795 && psksess->ssl_version != TLS1_3_VERSION))) { in tls_construct_ctos_early_data()
796 SSL_SESSION_free(psksess); in tls_construct_ctos_early_data()
802 if (psksess == NULL && s->psk_client_callback != NULL) { in tls_construct_ctos_early_data()
836 psksess = SSL_SESSION_new(); in tls_construct_ctos_early_data()
837 if (psksess == NULL in tls_construct_ctos_early_data()
839 || !SSL_SESSION_set_cipher(psksess, cipher) in tls_construct_ctos_early_data()
851 s->psksession = psksess; in tls_construct_ctos_early_data()
852 if (psksess != NULL) { in tls_construct_ctos_early_data()
[all …]
/openssl/apps/
H A Ds_client.c110 static SSL_SESSION *psksess = NULL; variable
210 if (psksess != NULL) { in psk_use_session_cb()
211 SSL_SESSION_up_ref(psksess); in psk_use_session_cb()
212 usesess = psksess; in psk_use_session_cb()
1940 psksess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in s_client_main()
1942 if (psksess == NULL) { in s_client_main()
1948 if (psk_key != NULL || psksess != NULL) in s_client_main()
2871 || (psksess != NULL in s_client_main()
2872 && SSL_SESSION_get_max_early_data(psksess) > 0))) { in s_client_main()
3322 SSL_SESSION_free(psksess); in s_client_main()
H A Ds_server.c122 static SSL_SESSION *psksess = NULL; variable
211 if (psksess != NULL) { in psk_find_session_cb()
212 SSL_SESSION_up_ref(psksess); in psk_find_session_cb()
213 *sess = psksess; in psk_find_session_cb()
2230 psksess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in s_server_main()
2232 if (psksess == NULL) { in s_server_main()
2240 if (psk_key != NULL || psksess != NULL) in s_server_main()
2344 SSL_SESSION_free(psksess); in s_server_main()

Completed in 48 milliseconds