Skip to content

Commit

Permalink
Fixed missing X509_CRL_free() in check_for_revocation
Browse files Browse the repository at this point in the history
Fixed missing X509_CRL_free() in check_for_revocation (thx Komarov
Egor).
  • Loading branch information
wolneykien committed Aug 27, 2021
1 parent 8647c7c commit e8c26d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/cert_vfy.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ static int check_for_revocation(X509 * x509, X509_STORE_CTX * ctx, crl_policy_t
set_error("verify_crl() failed: %s", get_error());
return -1;
} else if (rv == 0) {
X509_CRL_free(crl);
return 0;
}
DBG("checking revocation");
Expand Down

0 comments on commit e8c26d0

Please sign in to comment.