From 6393c09cdadd7d59163c2cdfd7db0c7696af6125 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 14 Nov 2002 18:12:45 +0000 Subject: [PATCH] Fix documentation of i2d_X509_fp and i2d_X509_bio. --- doc/crypto/d2i_X509.pod | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/crypto/d2i_X509.pod b/doc/crypto/d2i_X509.pod index fc837f02bf..5e3c3d0985 100644 --- a/doc/crypto/d2i_X509.pod +++ b/doc/crypto/d2i_X509.pod @@ -50,10 +50,12 @@ d2i_X509_fp() is similar to d2i_X509() except it attempts to parse data from FILE pointer B. i2d_X509_bio() is similar to i2d_X509() except it writes -the encoding of the structure B to BIO B. +the encoding of the structure B to BIO B and it +returns 1 for success and 0 for failure. i2d_X509_fp() is similar to i2d_X509() except it writes -the encoding of the structure B to BIO B. +the encoding of the structure B to BIO B and it +returns 1 for success and 0 for failure. =head1 NOTES @@ -214,6 +216,9 @@ i2d_X509(), i2d_X509_bio() and i2d_X509_fp() return a the number of bytes successfully encoded or a negative value if an error occurs. The error code can be obtained by L. +i2d_X509_bio() and i2d_X509_fp() returns 1 for success and 0 if an error +occurs The error code can be obtained by L. + =head1 SEE ALSO L -- 2.25.1