diff options
author | Richard Levitte <levitte@openssl.org> | 2019-11-10 15:44:00 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-11-12 13:43:33 +0100 |
commit | 9fc977c76d20226d4640a7b9a3f84e4216571184 (patch) | |
tree | cb85d4dac874cef326e46ddf08a6b3d0bbbf76a7 /doc | |
parent | 380aecb611418ab451992c8fad7319b534122907 (diff) |
SSL: Document SSL_add_{file,dir}_cert_subjects_to_stack()
This also removes the incorrect documentation comments by those
functions.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10403)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/SSL_load_client_CA_file.pod | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/man3/SSL_load_client_CA_file.pod b/doc/man3/SSL_load_client_CA_file.pod index a6cfb308d3..f354ef4177 100644 --- a/doc/man3/SSL_load_client_CA_file.pod +++ b/doc/man3/SSL_load_client_CA_file.pod @@ -2,7 +2,10 @@ =head1 NAME -SSL_load_client_CA_file - load certificate names from file +SSL_load_client_CA_file, +SSL_add_file_cert_subjects_to_stack, +SSL_add_dir_cert_subjects_to_stack +- load certificate names =head1 SYNOPSIS @@ -10,11 +13,23 @@ SSL_load_client_CA_file - load certificate names from file STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file); + int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, + const char *file) + int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, + const char *dir) + =head1 DESCRIPTION -SSL_load_client_CA_file() reads certificates from B<file> and returns +SSL_load_client_CA_file() reads certificates from I<file> and returns a STACK_OF(X509_NAME) with the subject names found. +SSL_add_file_cert_subjects_to_stack() reads certificates from I<file>, +and adds their subject name to the already existing I<stack>. + +SSL_add_dir_cert_subjects_to_stack() reads certificates from every +file in the directory I<dir>, and adds their subject name to the +already existing I<stack>. + =head1 NOTES SSL_load_client_CA_file() reads a file of PEM formatted certificates and |