summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pk7_doit.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <dev@ddvo.net>2021-02-05 21:52:01 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-02-11 21:34:27 +0100
commitc926a5ecb7a855c2ca1716e4c408410d2b2adccd (patch)
tree8dec479af59e8bdc9892ba60635375d70365a360 /crypto/pkcs7/pk7_doit.c
parentf1923a2147cdbfbc67ab54dfc15d2c6c4611ea9c (diff)
X509_STORE_CTX_cleanup(): Use internally so no need to call explicitly
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14088)
Diffstat (limited to 'crypto/pkcs7/pk7_doit.c')
-rw-r--r--crypto/pkcs7/pk7_doit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/pkcs7/pk7_doit.c b/crypto/pkcs7/pk7_doit.c
index e962e93688..a979544aeb 100644
--- a/crypto/pkcs7/pk7_doit.c
+++ b/crypto/pkcs7/pk7_doit.c
@@ -1053,10 +1053,8 @@ int PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio,
i = X509_verify_cert(ctx);
if (i <= 0) {
ERR_raise(ERR_LIB_PKCS7, ERR_R_X509_LIB);
- X509_STORE_CTX_cleanup(ctx);
goto err;
}
- X509_STORE_CTX_cleanup(ctx);
return PKCS7_signatureVerify(bio, p7, si, x509);
err: