Merge pull request #2134 from dgarske/fixes_nightly

Fixes for minor nightly build errors
This commit is contained in:
toddouska
2019-03-08 10:15:46 -08:00
committed by GitHub

View File

@ -46,6 +46,9 @@
/* included to inspect the size of FP_MAX_BITS */
#include <wolfssl/wolfcrypt/tfm.h>
#endif
#ifdef HAVE_ECC
#include <wolfssl/wolfcrypt/ecc.h>
#endif
#ifdef WOLFSSL_ASYNC_CRYPT
static int devId = INVALID_DEVID;
@ -1613,7 +1616,9 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
}
else if (XSTRNCMP(myoptarg, "useSupCurve", 11) == 0) {
printf("Test use supported curve\n");
#if defined(HAVE_ECC) && defined(HAVE_SUPPORTED_CURVES)
useSupCurve = 1;
#endif
}
else if (XSTRNCMP(myoptarg, "loadSSL", 7) == 0) {
printf("Load cert/key into wolfSSL object\n");