Searched refs:tmpsess (Results 1 – 2 of 2) sorted by relevance
200 SSL_SESSION *tmpsess = NULL; in psk_find_session_cb() local232 tmpsess = SSL_SESSION_new(); in psk_find_session_cb()233 if (tmpsess == NULL in psk_find_session_cb()234 || !SSL_SESSION_set1_master_key(tmpsess, key, key_len) in psk_find_session_cb()235 || !SSL_SESSION_set_cipher(tmpsess, cipher) in psk_find_session_cb()236 || !SSL_SESSION_set_protocol_version(tmpsess, SSL_version(ssl))) { in psk_find_session_cb()238 SSL_SESSION_free(tmpsess); in psk_find_session_cb()242 *sess = tmpsess; in psk_find_session_cb()
999 SSL_SESSION *tmpsess = NULL; in tls_get_stateful_ticket() local1014 tmpsess = lookup_sess_in_cache(s, PACKET_data(tick), in tls_get_stateful_ticket()1017 if (tmpsess == NULL) in tls_get_stateful_ticket()1020 *sess = tmpsess; in tls_get_stateful_ticket()
Completed in 30 milliseconds