Revert change

This commit is contained in:
Andras Fekete
2023-03-15 10:16:34 -04:00
parent 682354628b
commit 69024d121f

View File

@ -398,7 +398,7 @@ end:
} else if ((ret == ocsp->error) && (ocspResponse->single->status->status == CERT_UNKNOWN)) {
WOLFSSL_MSG("OCSP unknown");
ret = OCSP_CERT_UNKNOWN;
} else if ((ret != OCSP_CERT_REVOKED) && (ret != ocsp->error)) {
} else if (ret != OCSP_CERT_REVOKED) {
WOLFSSL_MSG("OCSP lookup failure");
ret = OCSP_LOOKUP_FAIL;
}