diff options
author | Paul Blazejowski <paulb@blazebox.homeip.net> | 2022-07-04 11:24:43 -0400 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-07-11 00:50:54 +0200 |
commit | 4a1dcaf8485e9d8f707692deada7c6a98ea1fae7 (patch) | |
tree | 2abdc4dbcb813ce81d69e7154d900aa42b51888f /package/network | |
parent | 6d5611af2813e5f06fbf9b400ef0fe642f16c566 (diff) | |
download | upstream-4a1dcaf8485e9d8f707692deada7c6a98ea1fae7.tar.gz upstream-4a1dcaf8485e9d8f707692deada7c6a98ea1fae7.tar.bz2 upstream-4a1dcaf8485e9d8f707692deada7c6a98ea1fae7.zip |
hostapd: apply patch to fix building openssl variant
Add patch from:
https://patchwork.ozlabs.org/project/hostap/patch/20220622121355.1337612-1-a.heider@gmail.com/
Fixes: dab9103 ("hostapd: update to 2022-06-02")
Signed-off-by: Paul Blazejowski <paulb@blazebox.homeip.net>
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/services/hostapd/patches/992-openssl-include-rsa.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/992-openssl-include-rsa.patch b/package/network/services/hostapd/patches/992-openssl-include-rsa.patch new file mode 100644 index 0000000000..581ae9f67a --- /dev/null +++ b/package/network/services/hostapd/patches/992-openssl-include-rsa.patch @@ -0,0 +1,32 @@ +From f374d52079111a4340acb6df835f45ac6b5f3f60 Mon Sep 17 00:00:00 2001 +From: Andre Heider <a.heider@gmail.com> +Date: Wed, 22 Jun 2022 14:13:55 +0200 +Subject: OpenSSL: Include rsa.h for all OpenSSL versions + +This fixes the build with OpenSSL 1.1.1: +../src/crypto/crypto_openssl.c: In function 'crypto_rsa_oaep_sha256_decrypt': +../src/crypto/crypto_openssl.c:4404:49: error: 'RSA_PKCS1_OAEP_PADDING' undeclared (first use in this function) + +Signed-off-by: Andre Heider <a.heider@gmail.com> +--- + src/crypto/crypto_openssl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/crypto/crypto_openssl.c ++++ b/src/crypto/crypto_openssl.c +@@ -16,6 +16,7 @@ + #include <openssl/dh.h> + #include <openssl/hmac.h> + #include <openssl/rand.h> ++#include <openssl/rsa.h> + #include <openssl/pem.h> + #ifdef CONFIG_ECC + #include <openssl/ec.h> +@@ -25,7 +26,6 @@ + #include <openssl/provider.h> + #include <openssl/core_names.h> + #include <openssl/param_build.h> +-#include <openssl/rsa.h> + #include <openssl/encoder.h> + #include <openssl/decoder.h> + #else /* OpenSSL version >= 3.0 */ |