aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/openssl/patches
diff options
context:
space:
mode:
authorDirk Feytons <dirk.feytons@gmail.com>2016-05-20 15:34:02 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-23 12:09:51 +0200
commit41da31ac2ca2306e9cff070f650f6012af753517 (patch)
tree78275bfaf741514d6036fc64d391b6885525dfb3 /package/libs/openssl/patches
parentf16fc21675d3335061d7afeaff9c252f0fc7fd1e (diff)
downloadupstream-41da31ac2ca2306e9cff070f650f6012af753517.tar.gz
upstream-41da31ac2ca2306e9cff070f650f6012af753517.tar.bz2
upstream-41da31ac2ca2306e9cff070f650f6012af753517.zip
openssl: remove some unneeded functionality and algorithms
The patch needed for this commit has been sent upstream: https://github.com/openssl/openssl/pull/1155 Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [add back bf and srp]
Diffstat (limited to 'package/libs/openssl/patches')
-rw-r--r--package/libs/openssl/patches/302-fix_no_cmac_build.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/libs/openssl/patches/302-fix_no_cmac_build.patch b/package/libs/openssl/patches/302-fix_no_cmac_build.patch
new file mode 100644
index 0000000000..1b94f24508
--- /dev/null
+++ b/package/libs/openssl/patches/302-fix_no_cmac_build.patch
@@ -0,0 +1,24 @@
+--- a/crypto/asn1/ameth_lib.c
++++ b/crypto/asn1/ameth_lib.c
+@@ -93,7 +93,9 @@ static const EVP_PKEY_ASN1_METHOD *stand
+ &eckey_asn1_meth,
+ #endif
+ &hmac_asn1_meth,
++#ifndef OPENSSL_NO_CMAC
+ &cmac_asn1_meth,
++#endif
+ #ifndef OPENSSL_NO_DH
+ &dhx_asn1_meth
+ #endif
+--- a/crypto/evp/pmeth_lib.c
++++ b/crypto/evp/pmeth_lib.c
+@@ -91,7 +91,9 @@ static const EVP_PKEY_METHOD *standard_m
+ &ec_pkey_meth,
+ #endif
+ &hmac_pkey_meth,
++#ifndef OPENSSL_NO_CMAC
+ &cmac_pkey_meth,
++#endif
+ #ifndef OPENSSL_NO_DH
+ &dhx_pkey_meth
+ #endif