83d51b1d5cbdf438869ebcb2a9dcc017cc6635ea
[openwrt/openwrt.git] / package / libs / wolfssl / patches / 100-disable-hardening-check.patch
1 --- a/wolfssl/wolfcrypt/settings.h
2 +++ b/wolfssl/wolfcrypt/settings.h
3 @@ -1553,7 +1553,7 @@ extern void uITRON4_free(void *p) ;
4 #endif
5
6 /* warning for not using harden build options (default with ./configure) */
7 -#ifndef WC_NO_HARDEN
8 +#if 0
9 #if (defined(USE_FAST_MATH) && !defined(TFM_TIMING_RESISTANT)) || \
10 (defined(HAVE_ECC) && !defined(ECC_TIMING_RESISTANT)) || \
11 (!defined(NO_RSA) && !defined(WC_RSA_BLINDING) && !defined(HAVE_FIPS))