summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2018-06-12 17:51:53 +0200
committerViktor Dukhovni <openssl-users@dukhovni.org>2018-06-12 18:23:51 +0200
commit0df65d82dbc41e8da00adb243de5918db532c8a6 (patch)
tree38be1510d1c424eebce00b03210d6bfe10820da3 /doc
parentDeprecate DSA_sign_setup() in the documentation (diff)
downloadopenssl-0df65d82dbc41e8da00adb243de5918db532c8a6.tar.xz
openssl-0df65d82dbc41e8da00adb243de5918db532c8a6.zip
Document return value of X509_add_ext
and also X509_delete_ext() Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/X509v3_get_ext_by_NID.pod6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/man3/X509v3_get_ext_by_NID.pod b/doc/man3/X509v3_get_ext_by_NID.pod
index 81c938e95d..54dff3c5dd 100644
--- a/doc/man3/X509v3_get_ext_by_NID.pod
+++ b/doc/man3/X509v3_get_ext_by_NID.pod
@@ -115,8 +115,8 @@ initial extension will not be checked.
X509v3_get_ext_count() returns the extension count.
-X509v3_get_ext() and X509v3_delete_ext() return an B<X509_EXTENSION> pointer
-or B<NULL> if an error occurs.
+X509v3_get_ext(), X509v3_delete_ext() and X509_delete_ext() return an
+B<X509_EXTENSION> pointer or B<NULL> if an error occurs.
X509v3_get_ext_by_NID() X509v3_get_ext_by_OBJ() and
X509v3_get_ext_by_critical() return the an extension index or B<-1> if an
@@ -124,6 +124,8 @@ error occurs.
X509v3_add_ext() returns a stack of extensions or B<NULL> on error.
+X509_add_ext() returns 1 on success and 0 on error.
+
=head1 SEE ALSO
L<X509V3_get_d2i(3)>