Lines Matching refs:usesess
207 SSL_SESSION *usesess = NULL; in psk_use_session_cb() local
212 usesess = psksess; in psk_use_session_cb()
231 usesess = SSL_SESSION_new(); in psk_use_session_cb()
232 if (usesess == NULL in psk_use_session_cb()
233 || !SSL_SESSION_set1_master_key(usesess, key, key_len) in psk_use_session_cb()
234 || !SSL_SESSION_set_cipher(usesess, cipher) in psk_use_session_cb()
235 || !SSL_SESSION_set_protocol_version(usesess, TLS1_3_VERSION)) { in psk_use_session_cb()
242 cipher = SSL_SESSION_get0_cipher(usesess); in psk_use_session_cb()
251 SSL_SESSION_free(usesess); in psk_use_session_cb()
253 *sess = usesess; in psk_use_session_cb()
261 SSL_SESSION_free(usesess); in psk_use_session_cb()