Navigation Menu

Skip to content

Commit

Permalink
Steal the SSL session pointer
Browse files Browse the repository at this point in the history
so it's attached to the handle, and not to the CONF_SECTION
  • Loading branch information
alandekok committed Mar 25, 2013
1 parent 76824db commit 697c61e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/rlm_eap/libeap/eap_tls.c
Expand Up @@ -110,6 +110,7 @@ tls_session_t *eaptls_session(fr_tls_server_conf_t *tls_conf, eap_handler_t *han
#endif
SSL_set_ex_data(ssn->ssl, FR_TLS_EX_INDEX_SSN, (void *)ssn);

talloc_steal(handler, ssn);
return ssn;
}

Expand Down

0 comments on commit 697c61e

Please sign in to comment.