[openssl-commits] [openssl] master update

Viktor Dukhovni viktor at openssl.org
Tue Jun 12 16:27:32 UTC 2018


The branch master has been updated
       via  0df65d82dbc41e8da00adb243de5918db532c8a6 (commit)
      from  8fe4c0b001f85c5a918c6a6d4687813ea3d2945f (commit)


- Log -----------------------------------------------------------------
commit 0df65d82dbc41e8da00adb243de5918db532c8a6
Author: Viktor Dukhovni <openssl-users at dukhovni.org>
Date:   Tue Jun 12 11:51:53 2018 -0400

    Document return value of X509_add_ext
    
    and also X509_delete_ext()
    
    Reviewed-by: Matt Caswell <matt at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 doc/man3/X509v3_get_ext_by_NID.pod | 6 ++++--
 1 file 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 81c938e..54dff3c 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)>


More information about the openssl-commits mailing list