]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
make all of the things unconst
authorAlan T. DeKok <aland@freeradius.org>
Mon, 3 Jul 2023 19:18:41 +0000 (15:18 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 3 Jul 2023 19:18:41 +0000 (15:18 -0400)
src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c

index 619ccc3fa79d2685345a507ce37cd4f75a1ee34e..2dd4063791d32322017211ca8b332d9d6efca3cc 100644 (file)
@@ -61,7 +61,7 @@ do {\
        _cbb->eap_type = PW_EAP_TEAP;\
 } while (0)
 
-static const struct teap_imck_t imck_zeros = { 0 };
+static struct teap_imck_t imck_zeros = { 0 };
 
 /**
  * RFC 7170 EAP-TEAP Authentication Phase 1: Key Derivations
@@ -1149,7 +1149,7 @@ static PW_CODE eap_teap_crypto_binding(REQUEST *request, UNUSED eap_handler_t *e
        uint8_t                         mac[EVP_MAX_MD_SIZE];
        unsigned int                    maclen = sizeof(mac);
        unsigned int                    flags;
-       struct teap_imck_t const        *imck = NULL;
+       struct teap_imck_t              *imck = NULL;
 
        olen = tls_session->outer_tlvs_octets ? talloc_array_length(tls_session->outer_tlvs_octets) : 0;
        /* FIXME: include client outer TLVs */