Skip to content

Commit 2de3b68

Browse files
committed
Set talloc ctx for client tls session
1 parent 8453d0f commit 2de3b68

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/tls.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ tls_session_t *tls_new_client_session(TALLOC_CTX *ctx, fr_tls_server_conf_t *con
530530

531531
SSL_set_ex_data(ssn->ssl, FR_TLS_EX_INDEX_CONF, (void *)conf);
532532
SSL_set_ex_data(ssn->ssl, FR_TLS_EX_INDEX_SSN, (void *)ssn);
533+
SSL_set_ex_data(ssn->ssl, FR_TLS_EX_INDEX_TALLOC, (void *)ssn);
533534
if (certs) SSL_set_ex_data(ssn->ssl, fr_tls_ex_index_certs, (void *)certs);
534535

535536
SSL_set_fd(ssn->ssl, fd);

0 commit comments

Comments
 (0)