enables OCSPStapling CM for ocspstapling2

This commit is contained in:
Moisés Guimarães 2017-12-26 22:57:20 -03:00
parent 43c234029b
commit 263525d812
1 changed files with 3 additions and 0 deletions

View File

@ -1892,6 +1892,9 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
#endif
#ifdef HAVE_CERTIFICATE_STATUS_REQUEST_V2
if (statusRequest) {
if (wolfSSL_CTX_EnableOCSPStapling(ctx) != WOLFSSL_SUCCESS)
err_sys("can't enable OCSP Stapling Certificate Manager");
switch (statusRequest) {
case WOLFSSL_CSR2_OCSP:
if (wolfSSL_UseOCSPStaplingV2(ssl,