]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More debugging
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 1 Apr 2021 21:40:29 +0000 (22:40 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 1 Apr 2021 21:40:29 +0000 (22:40 +0100)
src/lib/eap_aka_sim/crypto.c

index 2b5512e6621187a8446ca2c0ce8c50bf135594f7..05f5d9f410e326c3e3cfd9ba1de469168154e197 100644 (file)
@@ -158,6 +158,8 @@ int fr_aka_sim_crypto_update_checkcode(fr_aka_sim_checkcode_t *checkcode, eap_pa
        memcpy(&eap_hdr.length, &packet_len, sizeof(packet_len));
        eap_hdr.data[0] = eap_packet->type.num;
 
+       FR_PROTO_HEX_DUMP((void *)&eap_hdr, sizeof(eap_hdr), "Ingesting checkcode EAP header");
+
        /*
         *      Digest the header
         */
@@ -166,6 +168,8 @@ int fr_aka_sim_crypto_update_checkcode(fr_aka_sim_checkcode_t *checkcode, eap_pa
                return -1;
        }
 
+       FR_PROTO_HEX_DUMP((void *)eap_packet->type.data, eap_packet->type.length, "Ingesting checkcode EAP data");
+
        /*
         *      Digest the packet
         */