mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
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);
|
wolfSSL_CTX_use_PrivateKey_file(serverCtx, ourKey, WOLFSSL_FILETYPE_PEM);
|
||||||
#endif
|
#endif
|
||||||
serverSsl = wolfSSL_new(serverCtx);
|
serverSsl = wolfSSL_new(serverCtx);
|
||||||
|
AssertNotNull(serverSsl);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WOLFSSL_SEND_HRR_COOKIE
|
#ifdef WOLFSSL_SEND_HRR_COOKIE
|
||||||
|
@ -2142,8 +2142,9 @@ extern void uITRON4_free(void *p) ;
|
|||||||
#undef HAVE_ECC_KEY_IMPORT
|
#undef HAVE_ECC_KEY_IMPORT
|
||||||
#define HAVE_ECC_KEY_IMPORT
|
#define HAVE_ECC_KEY_IMPORT
|
||||||
#endif
|
#endif
|
||||||
/* The ECC key export requires mp_int */
|
/* The ECC key export requires mp_int or SP */
|
||||||
#if !defined(NO_ECC_KEY_EXPORT) && !defined(NO_BIG_INT)
|
#if (!defined(NO_ECC_KEY_EXPORT) && defined(WOLFSSL_SP_MATH)) || \
|
||||||
|
(!defined(NO_ECC_KEY_EXPORT) && !defined(NO_BIG_INT))
|
||||||
#undef HAVE_ECC_KEY_EXPORT
|
#undef HAVE_ECC_KEY_EXPORT
|
||||||
#define HAVE_ECC_KEY_EXPORT
|
#define HAVE_ECC_KEY_EXPORT
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user