(hx509_cms_create_signed_1): if no eContentType is given, use pkcs7-data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20664 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -979,6 +979,9 @@ hx509_cms_create_signed_1(hx509_context context,
|
|||||||
|
|
||||||
sd.version = CMSVersion_v3;
|
sd.version = CMSVersion_v3;
|
||||||
|
|
||||||
|
if (eContentType == NULL)
|
||||||
|
eContentType = oid_id_pkcs7_data();
|
||||||
|
|
||||||
der_copy_oid(eContentType, &sd.encapContentInfo.eContentType);
|
der_copy_oid(eContentType, &sd.encapContentInfo.eContentType);
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
|
Reference in New Issue
Block a user