spelling and doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24591 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1431,6 +1431,11 @@ hx509_cms_create_signed(hx509_context context,
|
|||||||
sigctx.content.length = length;
|
sigctx.content.length = length;
|
||||||
sigctx.eContentType = eContentType;
|
sigctx.eContentType = eContentType;
|
||||||
sigctx.peer = peer;
|
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)
|
if (flags & HX509_CMS_SIGNATURE_ID_NAME)
|
||||||
sigctx.cmsidflag = CMS_ID_NAME;
|
sigctx.cmsidflag = CMS_ID_NAME;
|
||||||
else
|
else
|
||||||
@@ -1472,7 +1477,7 @@ hx509_cms_create_signed(hx509_context context,
|
|||||||
* Use HX509_CMS_SIGNATURE_NO_SIGNER to create no sigInfo (no
|
* Use HX509_CMS_SIGNATURE_NO_SIGNER to create no sigInfo (no
|
||||||
* signatures).
|
* 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);
|
ret = hx509_certs_iter(context, certs, sig_process, &sigctx);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
Reference in New Issue
Block a user