提交 cfae3d94 编写于 作者: D Dr. Stephen Henson

Fix documentation of i2d_X509_fp and i2d_X509_bio.

上级 b9c23cca
......@@ -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)>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册