Skip to content

Commit

Permalink
CMS_add1_signer.pod: add missing info on CMS_SignerInfo_sign() return…
Browse files Browse the repository at this point in the history
… values
  • Loading branch information
DDvO committed Oct 14, 2023
1 parent cbb1fd9 commit bdf5412
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/man3/CMS_add1_signer.pod
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ 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
The CMS_SignerInfo_sign() function explicitly signs a CMS_SignerInfo
structure, its main use is when B<CMS_REUSE_DIGEST> and B<CMS_PARTIAL> flags
are both set.

Expand Down Expand Up @@ -90,6 +90,9 @@ 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)>,
Expand Down

0 comments on commit bdf5412

Please sign in to comment.