image: don't override opkg list directory in per-device rootfs mode
[openwrt/staging/chunkeey.git] / package / libs / openssl / patches / 302-fix_no_cmac_build.patch
1 --- a/crypto/asn1/ameth_lib.c
2 +++ b/crypto/asn1/ameth_lib.c
3 @@ -93,7 +93,9 @@ static const EVP_PKEY_ASN1_METHOD *stand
4 &eckey_asn1_meth,
5 #endif
6 &hmac_asn1_meth,
7 +#ifndef OPENSSL_NO_CMAC
8 &cmac_asn1_meth,
9 +#endif
10 #ifndef OPENSSL_NO_DH
11 &dhx_asn1_meth
12 #endif
13 --- a/crypto/evp/pmeth_lib.c
14 +++ b/crypto/evp/pmeth_lib.c
15 @@ -91,7 +91,9 @@ static const EVP_PKEY_METHOD *standard_m
16 &ec_pkey_meth,
17 #endif
18 &hmac_pkey_meth,
19 +#ifndef OPENSSL_NO_CMAC
20 &cmac_pkey_meth,
21 +#endif
22 #ifndef OPENSSL_NO_DH
23 &dhx_pkey_meth
24 #endif