mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Need to check <= 0 here.
This commit is contained in:
parent
4a1b71fb0c
commit
d11d977da4
@ -1387,7 +1387,7 @@ static int check_crl(X509_STORE_CTX *ctx, X509_CRL *crl)
|
||||
|
||||
if (!(ctx->current_crl_score & CRL_SCORE_SAME_PATH))
|
||||
{
|
||||
if (!check_crl_path(ctx, ctx->current_issuer))
|
||||
if (check_crl_path(ctx, ctx->current_issuer) <= 0)
|
||||
{
|
||||
ctx->error = X509_V_ERR_CRL_PATH_VALIDATION_ERROR;
|
||||
ok = ctx->verify_cb(0, ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user