]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rename function for clarity
authorAlan T. DeKok <aland@freeradius.org>
Sun, 2 Feb 2025 03:57:17 +0000 (22:57 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 2 Feb 2025 03:57:17 +0000 (22:57 -0500)
src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c

index d0237cdb134d1a30451288cd5bfc78c2673e07b4..a8f61ddcce41c44016b9bd285bb336e5218ead49 100644 (file)
@@ -1412,8 +1412,8 @@ static PW_CODE eap_teap_phase2(REQUEST *request, eap_handler_t *eap_session,
        return code;
 }
 
-static PW_CODE eap_teap_crypto_binding(REQUEST *request, UNUSED eap_handler_t *eap_session,
-                                      tls_session_t *tls_session, eap_tlv_crypto_binding_tlv_t const *binding)
+static PW_CODE eap_teap_validate_crypto_binding(REQUEST *request, UNUSED eap_handler_t *eap_session,
+                                               tls_session_t *tls_session, eap_tlv_crypto_binding_tlv_t const *binding)
 {
        teap_tunnel_t                   *t = tls_session->opaque;
        uint8_t                         *buf;
@@ -1650,8 +1650,8 @@ static PW_CODE eap_teap_process_tlvs(REQUEST *request, eap_handler_t *eap_sessio
                        case EAP_TEAP_TLV_CRYPTO_BINDING:
                                gotcryptobinding = true;
 
-                               code = eap_teap_crypto_binding(request, eap_session, tls_session,
-                                                              (eap_tlv_crypto_binding_tlv_t const *)vp->vp_octets);
+                               code = eap_teap_validate_crypto_binding(request, eap_session, tls_session,
+                                                                       (eap_tlv_crypto_binding_tlv_t const *)vp->vp_octets);
                                break;
 
                        default: