Merge pull request #2151 from JacobBarthelmeh/Testing

path include adjustment, rename internal OBJ function, and client pri…
This commit is contained in:
toddouska
2019-03-11 16:48:19 -07:00
committed by GitHub
7 changed files with 25 additions and 17 deletions

View File

@@ -1632,15 +1632,19 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
myVerifyFail = 1;
}
else if (XSTRNCMP(myoptarg, "useSupCurve", 11) == 0) {
printf("Test use supported curve\n");
printf("Attempting to test use supported curve\n");
#if defined(HAVE_ECC) && defined(HAVE_SUPPORTED_CURVES)
useSupCurve = 1;
#else
printf("Supported curves not compiled in!\n");
#endif
}
else if (XSTRNCMP(myoptarg, "loadSSL", 7) == 0) {
printf("Load cert/key into wolfSSL object\n");
#ifndef NO_CERTS
loadCertKeyIntoSSLObj = 1;
#else
printf("Certs turned off with NO_CERTS!\n");
#endif
}
else {