From 64a48fc7f0bc2d3ff587791b93a357bd98e1a5b8 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 13 Aug 2018 07:11:47 +0200 Subject: Rename SSL[_CTX]_add1_CA_list -> SSL[_CTX]_add1_to_CA_list They add a single item, so the names give a false impression of what they do, making them hard to remember. Better to give them a somewhat better name. Fixes #6930 Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/6931) --- doc/man3/SSL_CTX_set0_CA_list.pod | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/man3/SSL_CTX_set0_CA_list.pod b/doc/man3/SSL_CTX_set0_CA_list.pod index 0f8b7da7e1..958d735ed3 100644 --- a/doc/man3/SSL_CTX_set0_CA_list.pod +++ b/doc/man3/SSL_CTX_set0_CA_list.pod @@ -3,7 +3,7 @@ =head1 NAME SSL_set0_CA_list, SSL_CTX_set0_CA_list, SSL_get0_CA_list, -SSL_CTX_get0_CA_list, SSL_add1_CA_list, SSL_CTX_add1_CA_list, +SSL_CTX_get0_CA_list, SSL_add1_to_CA_list, SSL_CTX_add1_to_CA_list, SSL_get0_peer_CA_list - get or set CA list =head1 SYNOPSIS @@ -14,8 +14,8 @@ SSL_get0_peer_CA_list - get or set CA list void SSL_set0_CA_list(SSL *s, STACK_OF(X509_NAME) *name_list); const STACK_OF(X509_NAME) *SSL_CTX_get0_CA_list(const SSL_CTX *ctx); const STACK_OF(X509_NAME) *SSL_get0_CA_list(const SSL *s); - int SSL_CTX_add1_CA_list(SSL_CTX *ctx, const X509 *x); - int SSL_add1_CA_list(SSL *ssl, const X509 *x); + int SSL_CTX_add1_to_CA_list(SSL_CTX *ctx, const X509 *x); + int SSL_add1_to_CA_list(SSL *ssl, const X509 *x); const STACK_OF(X509_NAME) *SSL_get0_peer_CA_list(const SSL *s); @@ -35,10 +35,10 @@ B. SSL_CTX_get0_CA_list() retrieves any previously set list of CAs set for B or if none are set the list from the parent B is retrieved. -SSL_CTX_add1_CA_list() appends the CA subject name extracted from B to the +SSL_CTX_add1_to_CA_list() appends the CA subject name extracted from B to the list of CAs sent to peer for B. -SSL_add1_CA_list() appends the CA subject name extracted from B to the +SSL_add1_to_CA_list() appends the CA subject name extracted from B to the list of CAs sent to the peer for B, overriding the setting in the parent B. @@ -66,7 +66,7 @@ SSL_CTX_set0_CA_list() and SSL_set0_CA_list() do not return a value. SSL_CTX_get0_CA_list() and SSL_get0_CA_list() return a stack of CA names or B is no CA names are set. -SSL_CTX_add1_CA_list() and SSL_add1_CA_list() return 1 for success and 0 +SSL_CTX_add1_to_CA_list() and SSL_add1_to_CA_list() return 1 for success and 0 for failure. SSL_get0_peer_CA_list() returns a stack of CA names sent by the peer or -- cgit v1.2.3