diff options
author | slontis <shane.lontis@oracle.com> | 2022-05-30 14:37:53 +1000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-07 19:09:14 +0100 |
commit | bae1d405cf08854eb354354c7ea7ff8f5a4865eb (patch) | |
tree | 18f16626fcbf5c3eb86d6853733e755796a4a58d /doc/man3/OSSL_CMP_MSG_get0_header.pod | |
parent | 42e1a641a48d43d27ae49090d03e5e1ba2417e3d (diff) |
Fix documentation for some i2d return values.
i2d_XXX_bio and i2d_XXX_fp return either 0 or 1.
Other i2d_XXX functions return the number of bytes or negative on error.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18427)
(cherry picked from commit 943051d0f9ce8dcb38707774a5757a5dc436704f)
Diffstat (limited to 'doc/man3/OSSL_CMP_MSG_get0_header.pod')
-rw-r--r-- | doc/man3/OSSL_CMP_MSG_get0_header.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man3/OSSL_CMP_MSG_get0_header.pod b/doc/man3/OSSL_CMP_MSG_get0_header.pod index 6fc620f83b..c3297a3577 100644 --- a/doc/man3/OSSL_CMP_MSG_get0_header.pod +++ b/doc/man3/OSSL_CMP_MSG_get0_header.pod @@ -118,10 +118,11 @@ d2i_OSSL_CMP_MSG_bio() returns the parsed message or NULL on error. OSSL_CMP_MSG_read() and d2i_OSSL_CMP_MSG_bio() return the parsed CMP message or NULL on error. -OSSL_CMP_MSG_write() and i2d_OSSL_CMP_MSG_bio() return -the number of bytes successfully encoded or a negative value if an error occurs. +OSSL_CMP_MSG_write() returns the number of bytes successfully encoded or a +negative value if an error occurs. -OSSL_CMP_MSG_update_transactionID() returns 1 on success, 0 on error. +i2d_OSSL_CMP_MSG_bio() and OSSL_CMP_MSG_update_transactionID() return 1 on +success, 0 on error. =head1 SEE ALSO |