Skip to content

Commit 9030c6c

Browse files
committed
Enable actual ecc key pair validation by default.
1 parent 7084728 commit 9030c6c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

wolfssl/wolfcrypt/settings.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3059,6 +3059,13 @@ extern void uITRON4_free(void *p) ;
30593059
#undef HAVE_ECC_KEY_EXPORT
30603060
#define HAVE_ECC_KEY_EXPORT
30613061
#endif
3062+
#if !defined (WOLFSSL_NO_VALIDATE_ECC_IMPORT) && \
3063+
!defined (WOLFSSL_VALIDATE_ECC_IMPORT)
3064+
#define WOLFSSL_VALIDATE_ECC_IMPORT
3065+
#elif defined(WOLFSSL_NO_VALIDATE_ECC_IMPORT) && \
3066+
defined(WOLFSSL_VALIDATE_ECC_IMPORT)
3067+
#error Conflicting settings for WOLFSSL_VALIDATE_ECC_IMPORT.
3068+
#endif
30623069
#endif /* HAVE_ECC */
30633070

30643071
#if (defined(OPENSSL_EXTRA) || defined(OPENSSL_ALL)) && defined(HAVE_ECC) && \

0 commit comments

Comments
 (0)