]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wolfSSL: Include asn.h to fix build with some library configs
authorJouni Malinen <j@w1.fi>
Sun, 9 Feb 2025 10:05:50 +0000 (12:05 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 9 Feb 2025 10:08:45 +0000 (12:08 +0200)
It looks like wolfssl/wolfcrypt/asn.h gets pulled in by some of the DPP
functionality when --enable-wpas-dpp, but it is not included without
that. Include asn.h explicitly now that it is needed for non-DPP cases
as well after commit 99239d08de3e ("wolfssl: Implement RSA-OAEP-SHA256
for EAP-AKA privacy protection").

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/crypto_wolfssl.c

index 737f017d7a05982201e0a713bbc8f1aadcf01b97..7a91202ee68369ea217dca884433479c9fa86172 100644 (file)
@@ -18,6 +18,7 @@
 #include <wolfssl/openssl/bn.h>
 #include <wolfssl/wolfcrypt/aes.h>
 #include <wolfssl/wolfcrypt/arc4.h>
+#include <wolfssl/wolfcrypt/asn.h>
 #include <wolfssl/wolfcrypt/asn_public.h>
 #include <wolfssl/wolfcrypt/cmac.h>
 #include <wolfssl/wolfcrypt/des3.h>