forked from wolfSSL/wolfssl
Add to settings.h w a warning directive
This commit is contained in:
@ -2272,6 +2272,15 @@ extern void uITRON4_free(void *p) ;
|
|||||||
#undef WOLFSSL_TLS13
|
#undef WOLFSSL_TLS13
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* For FIPSv2 make sure the ECDSA encoding allows extra bytes
|
||||||
|
* but make sure users consider enabling it */
|
||||||
|
#if !defined(NO_STRICT_ECDSA_LEN) && defined(HAVE_FIPS) && \
|
||||||
|
defined(HAVE_FIPS_VERSION) && HAVE_FIPS_VERSION >= 2
|
||||||
|
#define NO_STRICT_ECDSA_LEN
|
||||||
|
#warning "ECDSA length checks off by default for CAVP testing"
|
||||||
|
#warning "consider enabling strict checks in production"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
Reference in New Issue
Block a user