summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-11-14 18:15:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-11-14 18:15:52 +0000
commitcfae3d94e9b0c6e8760431fdfaf6d4526501375f (patch)
tree4f8efa2c93d03f79a53742824bbf451ad5260700 /doc
parentb9c23cca01bd3c335def1de6ad6281cafd34d80e (diff)
Fix documentation of i2d_X509_fp and i2d_X509_bio.
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/d2i_X509.pod9
1 files 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<fp>.
i2d_X509_bio() is similar to i2d_X509() except it writes
-the encoding of the structure B<x> to BIO B<bp>.
+the encoding of the structure B<x> to BIO B<bp> 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<x> to BIO B<bp>.
+the encoding of the structure B<x> to BIO B<bp> 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<ERR_get_error(3)|ERR_get_error(3)>.
+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<ERR_get_error(3)|ERR_get_error(3)>.
+
=head1 SEE ALSO
L<ERR_get_error(3)|ERR_get_error(3)>