]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix eap_proto_eke_errors with gcc-10
authorJouni Malinen <jouni@codeaurora.org>
Wed, 17 Mar 2021 21:38:26 +0000 (23:38 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 17 Mar 2021 21:38:26 +0000 (23:38 +0200)
gcc-10 seems to be inlining eap_eke_prf() and eap_eke_prfplus() which
breaks this test case due to a different backtrace being generated for
triggering the local failures. Point to the functions called by those
instead of these two functions to get this working with both gcc-9 and
gcc-10.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_eap_proto.py

index dab218dc1c5735caba9d50941efc8f4baeefe83b..afdc45d70ee2026c176aa0485a4780d133008faf 100644 (file)
@@ -2869,10 +2869,10 @@ def test_eap_proto_eke_errors(dev, apdev):
              (1, "os_get_random;eap_eke_dhcomp", None),
              (1, "aes_128_cbc_encrypt;eap_eke_dhcomp", None),
              (1, "aes_128_cbc_decrypt;eap_eke_shared_secret", None),
-             (1, "eap_eke_prf;eap_eke_shared_secret", None),
-             (1, "eap_eke_prfplus;eap_eke_derive_ke_ki", None),
-             (1, "eap_eke_prfplus;eap_eke_derive_ka", None),
-             (1, "eap_eke_prfplus;eap_eke_derive_msk", None),
+             (1, "hmac_sha256_vector;eap_eke_shared_secret", None),
+             (1, "eap_eke_prf_hmac_sha256;eap_eke_derive_ke_ki", None),
+             (1, "eap_eke_prf_hmac_sha256;eap_eke_derive_ka", None),
+             (1, "eap_eke_prf_hmac_sha256;eap_eke_derive_msk", None),
              (1, "os_get_random;eap_eke_prot", None),
              (1, "aes_128_cbc_decrypt;eap_eke_decrypt_prot", None),
              (1, "eap_eke_derive_key;eap_eke_process_commit", None),