Merge pull request #1801 from kaleb-himes/OCSP-GLOBALSIGN-FIXr2

Address issues when testing with WOLFSSL_OCSP_TEST set
This commit is contained in:
John Safranek
2018-09-12 11:36:41 -07:00
committed by GitHub
2 changed files with 36 additions and 10 deletions

View File

@@ -1301,6 +1301,14 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
break;
case 'S' :
if (XSTRNCMP(myoptarg, "check", 5) == 0) {
#ifdef HAVE_SNI
printf("SNI is: ON\n");
#else
printf("SNI is: OFF\n");
#endif
XEXIT_T(EXIT_SUCCESS);
}
#ifdef HAVE_SNI
sniHostName = myoptarg;
#endif