diff options
author | Jeeban Sethi <13jeeban@gmail.com> | 2023-04-03 14:16:24 +0530 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-04-11 10:46:47 +0200 |
commit | f11590f72ff7d94901e8514842b3efb39221dd52 (patch) | |
tree | eead647bc2ed9525154a1b48be35e09c0af0791f /doc | |
parent | 550a16247e899363ef973aa08623f9b19bb636fb (diff) |
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)
(cherry picked from commit dfb8e185134df90fd3f21fb6ec625e7c295fdcea)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/PEM_read_CMS.pod | 3 |
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 |