summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShakti Shah <shaktishah33@gmail.com>2024-01-31 00:26:32 +0530
committerTomas Mraz <tomas@openssl.org>2024-03-15 10:16:25 +0100
commita58bfb7a97aa2ed8cb78417ea2bcc779f1ac9c0a (patch)
tree027141e9975bf7add70fb7bc42969d60981f1ba2
parentf990d1684a674474d53c79531596e88861334e0c (diff)
SSL_add_dir_cert_subjects_to_stack(): Documented return values
In the man page for SSL_add_dir_cert_subjects_to_stack(), the functions returning int have undocumented return values. Fixes #23171 Signed-off-by: Shakti Shah <shaktishah33@gmail.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23433) (cherry picked from commit 9f3a7ca2cfff948b21f8fdbe92069b3eea1c01fa)
-rw-r--r--doc/man3/SSL_load_client_CA_file.pod18
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/man3/SSL_load_client_CA_file.pod b/doc/man3/SSL_load_client_CA_file.pod
index 988c7e8934..117f6bb1a9 100644
--- a/doc/man3/SSL_load_client_CA_file.pod
+++ b/doc/man3/SSL_load_client_CA_file.pod
@@ -54,7 +54,8 @@ it is not limited to CA certificates.
=head1 RETURN VALUES
-The following return values can occur:
+The following return values can occur for SSL_load_client_CA_file_ex(), and
+SSL_load_client_CA_file():
=over 4
@@ -68,6 +69,21 @@ Pointer to the subject names of the successfully read certificates.
=back
+The following return values can occur for SSL_add_file_cert_subjects_to_stack(),
+SSL_add_dir_cert_subjects_to_stack(), and SSL_add_store_cert_subjects_to_stack():
+
+=over 4
+
+=item 0 (Failure)
+
+The operation failed.
+
+=item 1 (Success)
+
+The operation succeeded.
+
+=back
+
=head1 EXAMPLES
Load names of CAs from file and use it as a client CA list: