projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial support for enveloped data decrypt. Extent runex.pl to cover these
[openssl.git]
/
crypto
/
cms
/
cms_lib.c
diff --git
a/crypto/cms/cms_lib.c
b/crypto/cms/cms_lib.c
index e691ca3a7c89ff50b7c2c0095b3dc6d25de89a6c..7b118b8d989de820c8098df772b5748569a90297 100644
(file)
--- a/
crypto/cms/cms_lib.c
+++ b/
crypto/cms/cms_lib.c
@@
-137,6
+137,10
@@
BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont)
cmsbio = cms_EncryptedData_init_bio(cms);
break;
+ case NID_pkcs7_enveloped:
+ cmsbio = cms_EnvelopedData_init_bio(cms);
+ break;
+
default:
CMSerr(CMS_F_CMS_DATAINIT, CMS_R_UNSUPPORTED_TYPE);
return NULL;