diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-03-14 00:58:43 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-03-14 00:58:43 +0000 |
commit | 5c4436c97759a98794cd84dc37c937fa637aad61 (patch) | |
tree | 03698e829b42b3b6173a8a7d1f479e212146e303 /crypto/cms/cms_env.c | |
parent | a78a03744d987c7c592695ed90b543a30850bf3f (diff) |
New utility functions for encryptedData content type which will also be used
by envelopedData.
Use PRE and not POST when freeing up RecipientInfo.
Diffstat (limited to 'crypto/cms/cms_env.c')
-rw-r--r-- | crypto/cms/cms_env.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/cms/cms_env.c b/crypto/cms/cms_env.c index 238198543d..3a5991e016 100644 --- a/crypto/cms/cms_env.c +++ b/crypto/cms/cms_env.c @@ -57,6 +57,7 @@ #include <openssl/x509v3.h> #include <openssl/err.h> #include <openssl/cms.h> +#include <openssl/rand.h> #include "cms_lcl.h" #include "asn1_locl.h" @@ -66,12 +67,6 @@ DECLARE_ASN1_ITEM(CMS_EnvelopedData) DECLARE_ASN1_ITEM(CMS_RecipientInfo) DECLARE_ASN1_ITEM(CMS_KeyTransRecipientInfo) -#if 0 -IMPLEMENT_ASN1_ALLOC_FUNCTIONS(CMS_EnvelopedData) -IMPLEMENT_ASN1_ALLOC_FUNCTIONS(CMS_RecipientInfo) -IMPLEMENT_ASN1_ALLOC_FUNCTIONS(CMS_KeyTransRecipientInfo) -#endif - DECLARE_STACK_OF(CMS_RecipientInfo) static CMS_EnvelopedData *cms_get0_enveloped(CMS_ContentInfo *cms) |