]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 5 Apr 2019 22:02:12 +0000 (18:02 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 5 Apr 2019 22:02:12 +0000 (18:02 -0400)
src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c

index 3820bc0e0a0dabd4a1556d180dfdfa911f447291..ead7bbdb3e5c69a82ab116232e7d2ce369b4a2a6 100644 (file)
@@ -75,9 +75,10 @@ static rlm_rcode_t CC_HINT(nonnull) mod_process(void *instance, eap_session_t *e
 
 static rlm_rcode_t eap_tls_success_with_prf(eap_session_t *eap_session)
 {
-               tls_session_t           *tls_session = eap_tls_session->tls_session;
-
 #if OPENSSL_VERSION_NUMBER >= 0x10101000L
+       eap_tls_session_t       *eap_tls_session = talloc_get_type_abort(eap_session->opaque, eap_tls_session_t);
+       tls_session_t           *tls_session = eap_tls_session->tls_session;
+
        /*
         *      Set the PRF label based on the TLS version negotiated
         *      in the handshake.