Submitted by: Ger Hobbelt <ger@hobbelt.com>
Approved by: steve@openssl.org

Check for <= 0 when verifying CRL issuers.
This commit is contained in:
Dr. Stephen Henson 2009-04-15 15:07:09 +00:00
parent c900a78c99
commit 268e78c305

View File

@ -1124,7 +1124,7 @@ static int check_crl_path(X509_STORE_CTX *ctx, X509 *x)
/* Verify CRL issuer */
ret = X509_verify_cert(&crl_ctx);
if (!ret)
if (ret <= 0)
goto err;
/* Check chain is acceptable */