d2i_X509.pod: add missing doc of return value of i2d_ASN1_bio_stream()

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27567)

(cherry picked from commit 4376c9571a)
This commit is contained in:
Dr. David von Oheimb 2025-04-14 11:20:18 +02:00 committed by Tomas Mraz
parent 301069e6a5
commit f5390d2b86
1 changed files with 3 additions and 2 deletions

View File

@ -500,8 +500,9 @@ freed in the event of error and I<*a> is set to NULL.
B<i2d_I<TYPE>>() returns the number of bytes successfully encoded or a negative
value if an error occurs.
B<i2d_I<TYPE>_bio>() and B<i2d_I<TYPE>_fp>() return 1 for success and 0 if an
error occurs.
B<i2d_I<TYPE>_bio>() and B<i2d_I<TYPE>_fp>(),
as well as i2d_ASN1_bio_stream(),
return 1 for success and 0 if an error occurs.
=head1 EXAMPLES