From 1228f20e920e8aa1a1e317a2d2f3a60fb9fa6834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 4 Feb 2009 22:06:22 +0000 Subject: [PATCH] spelling and doxygen git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24591 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/cms.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/hx509/cms.c b/lib/hx509/cms.c index 98f6245dc..ca76a7218 100644 --- a/lib/hx509/cms.c +++ b/lib/hx509/cms.c @@ -1431,6 +1431,11 @@ hx509_cms_create_signed(hx509_context context, sigctx.content.length = length; sigctx.eContentType = eContentType; sigctx.peer = peer; + /** + * Use HX509_CMS_SIGNATURE_ID_NAME to preferred use of issuer name + * and serial number if possible. Otherwise subject key identifier + * will preferred. + */ if (flags & HX509_CMS_SIGNATURE_ID_NAME) sigctx.cmsidflag = CMS_ID_NAME; else @@ -1472,7 +1477,7 @@ hx509_cms_create_signed(hx509_context context, * Use HX509_CMS_SIGNATURE_NO_SIGNER to create no sigInfo (no * signatures). */ - if ((flags & HX509_CMS_SIGATURE_NO_SIGNER) == 0) { + if ((flags & HX509_CMS_SIGNATURE_NO_SIGNER) == 0) { ret = hx509_certs_iter(context, certs, sig_process, &sigctx); if (ret) goto out;