mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 10:10:52 +02:00
CheckCertCRL_ex: check cbRet after callback
F-432
This commit is contained in:
@@ -591,7 +591,7 @@ int CheckCertCRL_ex(WOLFSSL_CRL* crl, byte* issuerHash, byte* serial,
|
||||
if (cbRet == WC_NO_ERR_TRACE(WOLFSSL_CBIO_ERR_WANT_READ)) {
|
||||
ret = OCSP_WANT_READ;
|
||||
}
|
||||
else if (ret >= 0) {
|
||||
else if (cbRet >= 0) {
|
||||
/* try again */
|
||||
ret = CheckCertCRLList(crl, issuerHash, serial, serialSz,
|
||||
serialHash, &foundEntry);
|
||||
|
||||
Reference in New Issue
Block a user