diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-03-21 17:58:16 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-03-21 20:11:16 +0100 |
commit | 7b6d51bed2af151260f2a9a1d20446bb8f4b737d (patch) | |
tree | ec732451a4614a27dca5c745dfb594340b149258 /package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_rsa_public_key_c | |
parent | f715dd8d406a8d16ee4f0cb570003b47acc3ea5b (diff) |
strongswan: update to 5.9.5
Diffstat (limited to 'package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_rsa_public_key_c')
-rw-r--r-- | package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_rsa_public_key_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_rsa_public_key_c b/package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_rsa_public_key_c new file mode 100644 index 000000000..3571cad01 --- /dev/null +++ b/package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_rsa_public_key_c @@ -0,0 +1,11 @@ +--- strongswan-5.9.5.orig/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.c 2021-12-29 12:08:27.000000000 +0100 ++++ strongswan-5.9.5/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.c 2022-03-21 16:49:30.581005593 +0100 +@@ -281,7 +281,7 @@ METHOD(public_key_t, verify, bool, + return verify_emsa_pkcs1_signature(this, NID_sha384, data, signature); + case SIGN_RSA_EMSA_PKCS1_SHA2_512: + return verify_emsa_pkcs1_signature(this, NID_sha512, data, signature); +-#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(OPENSSL_NO_SHA3) ++#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(OPENSSL_NO_SHA3) && !defined(LIBRESSL_VERSION_NUMBER) + case SIGN_RSA_EMSA_PKCS1_SHA3_224: + return verify_emsa_pkcs1_signature(this, NID_sha3_224, data, signature); + case SIGN_RSA_EMSA_PKCS1_SHA3_256: |