use a sensable content type

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18777 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-21 19:19:43 +00:00
parent 94d736b2ab
commit 561f5ca9c9

View File

@@ -324,7 +324,6 @@ int
cms_create_enveloped(struct cms_envelope_options *opt, int argc, char **argv)
{
heim_octet_string o;
heim_oid contentType = { 0, NULL };
const heim_oid *enctype = NULL;
hx509_query *q;
hx509_certs certs;
@@ -363,7 +362,8 @@ cms_create_enveloped(struct cms_envelope_options *opt, int argc, char **argv)
if (ret)
errx(1, "hx509_certs_find: %d", ret);
ret = hx509_cms_envelope_1(context, cert, p, sz, enctype, &contentType, &o);
ret = hx509_cms_envelope_1(context, cert, p, sz, enctype,
oid_id_pkcs7_data(), &o);
if (ret)
errx(1, "hx509_cms_envelope_1: %d", ret);