mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
Fix OCSP cert status check in internal.c
I missed one line in internal.c when I recently modified the OCSP ASN code.
This commit is contained in:
@ -11919,7 +11919,7 @@ static int DoCertificateStatus(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||||||
if ((OcspResponseDecode(response, ssl->ctx->cm, ssl->heap,
|
if ((OcspResponseDecode(response, ssl->ctx->cm, ssl->heap,
|
||||||
0) != 0)
|
0) != 0)
|
||||||
|| (response->responseStatus != OCSP_SUCCESSFUL)
|
|| (response->responseStatus != OCSP_SUCCESSFUL)
|
||||||
|| (response->single->status != CERT_GOOD))
|
|| (response->single->status->status != CERT_GOOD))
|
||||||
ret = BAD_CERTIFICATE_STATUS_ERROR;
|
ret = BAD_CERTIFICATE_STATUS_ERROR;
|
||||||
|
|
||||||
while (ret == 0) {
|
while (ret == 0) {
|
||||||
|
Reference in New Issue
Block a user