Merge pull request #1259 from dgarske/fix_ocsp_nonblock

Fixes for handling non-blocking OCSP
This commit is contained in:
toddouska
2017-12-18 16:43:24 -08:00
committed by GitHub
6 changed files with 101 additions and 34 deletions

View File

@@ -1582,8 +1582,13 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
wolfSSL_CTX_EnableOCSP(ctx, WOLFSSL_OCSP_NO_NONCE
| WOLFSSL_OCSP_URL_OVERRIDE);
}
else
else {
wolfSSL_CTX_EnableOCSP(ctx, 0);
}
#ifdef WOLFSSL_NONBLOCK_OCSP
wolfSSL_CTX_SetOCSP_Cb(ctx, OCSPIOCb, OCSPRespFreeCb, NULL);
#endif
}
#endif