From: Arran Cudbard-Bell Date: Wed, 15 Sep 2021 19:54:46 +0000 (-0500) Subject: uctx is a tls_session X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b06e2497331f9239946782743381991c056703ee;p=thirdparty%2Ffreeradius-server.git uctx is a tls_session --- diff --git a/src/lib/tls/session.c b/src/lib/tls/session.c index 26dfaa384d5..11879adbfe8 100644 --- a/src/lib/tls/session.c +++ b/src/lib/tls/session.c @@ -1208,8 +1208,7 @@ static unlang_action_t tls_session_async_handshake_done_round(UNUSED rlm_rcode_t */ static void tls_session_async_handshake_signal(UNUSED request_t *request, fr_state_signal_t action, void *uctx) { - SSL *ssl = uctx; - fr_tls_session_t *tls_session = fr_tls_session(ssl); + fr_tls_session_t *tls_session = talloc_get_type_abort(uctx, fr_tls_session_t); int ret; if (action != FR_SIGNAL_CANCEL) return;