From 0df65d82dbc41e8da00adb243de5918db532c8a6 Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Tue, 12 Jun 2018 11:51:53 -0400 Subject: [PATCH] Document return value of X509_add_ext and also X509_delete_ext() Reviewed-by: Matt Caswell --- 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 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 pointer -or B if an error occurs. +X509v3_get_ext(), X509v3_delete_ext() and X509_delete_ext() return an +B pointer or B 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 on error. +X509_add_ext() returns 1 on success and 0 on error. + =head1 SEE ALSO L -- 2.25.1