pass flag to hx509_cms_create_signed_1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24831 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -221,10 +221,10 @@ create_signature(krb5_context context,
|
|||||||
int ret, flags = 0;
|
int ret, flags = 0;
|
||||||
|
|
||||||
if (id->cert == NULL)
|
if (id->cert == NULL)
|
||||||
flags = HX509_CMS_SIGNATURE_NO_SIGNER;
|
flags |= HX509_CMS_SIGNATURE_NO_SIGNER;
|
||||||
|
|
||||||
ret = hx509_cms_create_signed_1(id->hx509ctx,
|
ret = hx509_cms_create_signed_1(id->hx509ctx,
|
||||||
0,
|
flags,
|
||||||
eContentType,
|
eContentType,
|
||||||
eContent->data,
|
eContent->data,
|
||||||
eContent->length,
|
eContent->length,
|
||||||
|
Reference in New Issue
Block a user