diff options
author | Dr. David von Oheimb <dev@ddvo.net> | 2023-10-13 22:39:25 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2023-10-17 22:02:29 +0200 |
commit | 2c581eb2fd92e997dfe0761b086eb690271cefc2 (patch) | |
tree | 3023ce1e04ba12b73f13d134046a0a00ada4301d /doc/man3 | |
parent | e15891b477fe9c3d3dc6f331812c9e8afc48dc05 (diff) | |
download | openssl-2c581eb2fd92e997dfe0761b086eb690271cefc2.tar.gz |
CMS_add1_signer.pod: add missing info on CMS_SignerInfo_sign() return values
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22390)
Diffstat (limited to 'doc/man3')
-rw-r--r-- | doc/man3/CMS_add1_signer.pod | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/man3/CMS_add1_signer.pod b/doc/man3/CMS_add1_signer.pod index 800085b7b8..11afecb905 100644 --- a/doc/man3/CMS_add1_signer.pod +++ b/doc/man3/CMS_add1_signer.pod @@ -31,8 +31,8 @@ Unless the B<CMS_REUSE_DIGEST> flag is set the returned CMS_ContentInfo structure is not complete and must be finalized either by streaming (if applicable) or a call to CMS_final(). -The CMS_SignerInfo_sign() function will explicitly sign a CMS_SignerInfo -structure, its main use is when B<CMS_REUSE_DIGEST> and B<CMS_PARTIAL> flags +The CMS_SignerInfo_sign() function explicitly signs a CMS_SignerInfo +structure, its main use is when the B<CMS_REUSE_DIGEST> and B<CMS_PARTIAL> flags are both set. =head1 NOTES @@ -90,6 +90,8 @@ before it is finalized. CMS_add1_signer() returns an internal pointer to the CMS_SignerInfo structure just added or NULL if an error occurs. +CMS_SignerInfo_sign() returns 1 on success, 0 on failure. + =head1 SEE ALSO L<ERR_get_error(3)>, L<CMS_sign(3)>, |