forked from wolfSSL/wolfssl
fix guard on ECC export
This commit is contained in:
@ -53065,6 +53065,7 @@ static int test_tls13_apis(void)
|
||||
wolfSSL_CTX_use_PrivateKey_file(serverCtx, ourKey, WOLFSSL_FILETYPE_PEM);
|
||||
#endif
|
||||
serverSsl = wolfSSL_new(serverCtx);
|
||||
AssertNotNull(serverSsl);
|
||||
#endif
|
||||
|
||||
#ifdef WOLFSSL_SEND_HRR_COOKIE
|
||||
|
@ -2142,8 +2142,9 @@ extern void uITRON4_free(void *p) ;
|
||||
#undef HAVE_ECC_KEY_IMPORT
|
||||
#define HAVE_ECC_KEY_IMPORT
|
||||
#endif
|
||||
/* The ECC key export requires mp_int */
|
||||
#if !defined(NO_ECC_KEY_EXPORT) && !defined(NO_BIG_INT)
|
||||
/* The ECC key export requires mp_int or SP */
|
||||
#if (!defined(NO_ECC_KEY_EXPORT) && defined(WOLFSSL_SP_MATH)) || \
|
||||
(!defined(NO_ECC_KEY_EXPORT) && !defined(NO_BIG_INT))
|
||||
#undef HAVE_ECC_KEY_EXPORT
|
||||
#define HAVE_ECC_KEY_EXPORT
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user