]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
OpenSSL: Include rsa.h for OpenSSL 3.0
authorJouni Malinen <j@w1.fi>
Sun, 22 May 2022 20:13:28 +0000 (23:13 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 22 May 2022 20:13:28 +0000 (23:13 +0300)
This is needed to get RSA_PKCS1_OAEP_PADDING.

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

index c6e065f82b5a48a6af29ee1033d0b023e7000f79..c5bfcae68e06448f8ef5fa7ee47526ef5130f0ca 100644 (file)
@@ -25,6 +25,7 @@
 #include <openssl/provider.h>
 #include <openssl/core_names.h>
 #include <openssl/param_build.h>
+#include <openssl/rsa.h>
 #else /* OpenSSL version >= 3.0 */
 #include <openssl/cmac.h>
 #endif /* OpenSSL version >= 3.0 */