projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for d2i_ASN1_bytes and stop PKCS#7 routines crashing is signed message
[oweals/openssl.git]
/
crypto
/
asn1
/
p7_recip.c
diff --git
a/crypto/asn1/p7_recip.c
b/crypto/asn1/p7_recip.c
index d6017af30b9f0327f7fea805d947722ea8db0aa0..9fda4f20d4975f61eda43726ea534f6c094bf959 100644
(file)
--- a/
crypto/asn1/p7_recip.c
+++ b/
crypto/asn1/p7_recip.c
@@
-118,6
+118,8
@@
void PKCS7_RECIP_INFO_free(PKCS7_RECIP_INFO *a)
X509_ALGOR_free(a->key_enc_algor);
ASN1_OCTET_STRING_free(a->enc_key);
if (a->cert != NULL) X509_free(a->cert);
- Free(
(char *)
a);
+ Free(a);
}
+IMPLEMENT_STACK_OF(PKCS7_RECIP_INFO)
+IMPLEMENT_ASN1_SET_OF(PKCS7_RECIP_INFO)