mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
enables OCSPStapling CM for ocspstapling2
This commit is contained in:
@@ -1892,6 +1892,9 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
|||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_CERTIFICATE_STATUS_REQUEST_V2
|
#ifdef HAVE_CERTIFICATE_STATUS_REQUEST_V2
|
||||||
if (statusRequest) {
|
if (statusRequest) {
|
||||||
|
if (wolfSSL_CTX_EnableOCSPStapling(ctx) != WOLFSSL_SUCCESS)
|
||||||
|
err_sys("can't enable OCSP Stapling Certificate Manager");
|
||||||
|
|
||||||
switch (statusRequest) {
|
switch (statusRequest) {
|
||||||
case WOLFSSL_CSR2_OCSP:
|
case WOLFSSL_CSR2_OCSP:
|
||||||
if (wolfSSL_UseOCSPStaplingV2(ssl,
|
if (wolfSSL_UseOCSPStaplingV2(ssl,
|
||||||
|
Reference in New Issue
Block a user