projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f80ee
)
Don't free up parameter. The public key ASN1 method can do that if it needs
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 27 Apr 2006 00:20:43 +0000
(
00:20
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 27 Apr 2006 00:20:43 +0000
(
00:20
+0000)
to.
crypto/pkcs7/pk7_lib.c
patch
|
blob
|
history
diff --git
a/crypto/pkcs7/pk7_lib.c
b/crypto/pkcs7/pk7_lib.c
index 649cdbf2798d9914ffa36a3d35f090037b8aed04..8c7f7aa0239c05798c2449e65d030d1d6d6548ab 100644
(file)
--- 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,