Merge pull request #3553 from haydenroche5/cert_status_fix
Fix OCSP cert status check in internal.c
This commit is contained in:
commit
0e9926bd83
@ -11919,7 +11919,7 @@ static int DoCertificateStatus(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
||||
if ((OcspResponseDecode(response, ssl->ctx->cm, ssl->heap,
|
||||
0) != 0)
|
||||
|| (response->responseStatus != OCSP_SUCCESSFUL)
|
||||
|| (response->single->status != CERT_GOOD))
|
||||
|| (response->single->status->status != CERT_GOOD))
|
||||
ret = BAD_CERTIFICATE_STATUS_ERROR;
|
||||
|
||||
while (ret == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user