aboutsummaryrefslogtreecommitdiff
path: root/crypto/pkcs7/pk7_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-04-27 00:20:43 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-04-27 00:20:43 +0000
commit4edcb93dca1a8eeb1cabc6e17aaec02764a7d196 (patch)
tree781e6d70816d08f9058fb781ae0660481f06ec9c /crypto/pkcs7/pk7_lib.c
parent15f80eea31c5e18b840400c107010466129e9315 (diff)
downloadopenssl-4edcb93dca1a8eeb1cabc6e17aaec02764a7d196.zip
openssl-4edcb93dca1a8eeb1cabc6e17aaec02764a7d196.tar.gz
openssl-4edcb93dca1a8eeb1cabc6e17aaec02764a7d196.tar.bz2
Don't free up parameter. The public key ASN1 method can do that if it needs
to.
Diffstat (limited to 'crypto/pkcs7/pk7_lib.c')
-rw-r--r--crypto/pkcs7/pk7_lib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/pkcs7/pk7_lib.c b/crypto/pkcs7/pk7_lib.c
index 649cdbf..8c7f7aa 100644
--- a/crypto/pkcs7/pk7_lib.c
+++ b/crypto/pkcs7/pk7_lib.c
@@ -366,8 +366,6 @@ int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
X509_ALGOR_set0(p7i->digest_alg, OBJ_nid2obj(EVP_MD_type(dgst)),
V_ASN1_NULL, NULL);
- if (p7i->digest_enc_alg->parameter != NULL)
- ASN1_TYPE_free(p7i->digest_enc_alg->parameter);
if (pkey->ameth && pkey->ameth->pkey_ctrl)
{
ret = pkey->ameth->pkey_ctrl(pkey, ASN1_PKEY_CTRL_PKCS7_SIGN,