summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeeban Sethi <13jeeban@gmail.com>2023-04-03 14:16:24 +0530
committerTomas Mraz <tomas@openssl.org>2023-04-11 10:45:44 +0200
commitdfb8e185134df90fd3f21fb6ec625e7c295fdcea (patch)
tree06a1f8cd133f9ffdc2750649254480941f88ec1e /doc
parent1ac0464d4c9cac7294b8fe739600ffbf8b8c7195 (diff)
downloadopenssl-new-dfb8e185134df90fd3f21fb6ec625e7c295fdcea.tar.gz
Updated return value of PEM_write_TYPE() and PEM_write_bio_TYPE() in man-pages.
Fixes #20218 CLA: trivial Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20673)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/PEM_read_CMS.pod3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/man3/PEM_read_CMS.pod b/doc/man3/PEM_read_CMS.pod
index 2b96db9c31..311f40e343 100644
--- a/doc/man3/PEM_read_CMS.pod
+++ b/doc/man3/PEM_read_CMS.pod
@@ -122,8 +122,7 @@ B<PEM_read_I<TYPE>>() and B<PEM_read_bio_I<TYPE>>() return a pointer to an
allocated object, which should be released by calling B<I<TYPE>_free>(), or
NULL on error.
-B<PEM_write_I<TYPE>>() and B<PEM_write_bio_I<TYPE>>() return the number of bytes
-written or zero on error.
+B<PEM_write_I<TYPE>>() and B<PEM_write_bio_I<TYPE>>() return 1 for success or 0 for failure.
=head1 SEE ALSO