Skip to content

Commit

Permalink
Merge pull request OpenSC#58 from wolneykien/devel/moresslfix
Browse files Browse the repository at this point in the history
Fixed missing X509_CRL_free() in check_for_revocation
  • Loading branch information
LudovicRousseau committed Oct 5, 2021
2 parents fc93075 + e8c26d0 commit 91c9d59
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 91c9d59

Please sign in to comment.