]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Make definition and declaration agree
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 30 Oct 2021 21:32:08 +0000 (17:32 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 30 Oct 2021 21:32:08 +0000 (17:32 -0400)
src/lib/eap_aka_sim/id.h

index 70316bd9f4842887a3a7bf6a7d7ec1515e08b76f..3756c76bd5a1f1847a897ebf1b7dbad2db12febe 100644 (file)
@@ -115,7 +115,7 @@ uint8_t             fr_aka_sim_id_3gpp_pseudonym_tag(char const encr_id[AKA_SIM_3GPP_PSEUDO
 
 uint8_t                fr_aka_sim_id_3gpp_pseudonym_key_index(char const encr_id[AKA_SIM_3GPP_PSEUDONYM_LEN]);
 
-int            fr_aka_sim_id_3gpp_pseudonym_decrypt(char out[AKA_SIM_IMSI_MAX_LEN],
+int            fr_aka_sim_id_3gpp_pseudonym_decrypt(char out[AKA_SIM_IMSI_MAX_LEN + 1],
                                                     char const encr_id[AKA_SIM_3GPP_PSEUDONYM_LEN],
                                                     uint8_t const key[16]);