Skip to content

Commit

Permalink
fixup! ocsp: improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
rizlik committed Jul 4, 2024
1 parent fe932b8 commit 3e58cfd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -16198,7 +16198,7 @@ static int DoCertificateStatus(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|| (response->single->status->status != CERT_GOOD))
ret = BAD_CERTIFICATE_STATUS_ERROR;

while (ret == 0) {
if (ret == 0) {
request = (OcspRequest*)TLSX_CSR2_GetRequest(
ssl->extensions, status_type, idx);

Expand All @@ -16211,7 +16211,6 @@ static int DoCertificateStatus(WOLFSSL* ssl, byte* input, word32* inOutIdx,
else {
if (idx == 0) /* server cert must be OK */
endCertificateOK = 1;
break;
}
}

Expand Down

0 comments on commit 3e58cfd

Please sign in to comment.