(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:
Love Hörnquist Åstrand
2007-05-10 22:53:44 +00:00
parent 1ab49d0c29
commit bb64783393

View File

@@ -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);
/* */ /* */