diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-12-07 15:14:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-12-07 15:14:35 +0000 |
commit | 9b1f59788ced9f30c1b6c19d6ca75d69b339b2a1 (patch) | |
tree | 6785abb210ee3e692b77dfe71557dabee65b29f5 /lib/libssl | |
parent | 860fce15ea0ee4a08a1a9c9b2b6eab93a2f10daa (diff) |
New SSL_dup_CA_list(3) manual written from scratch.
Mentioned in ssl(3) and <openssl/ssl.h>, so it is public.
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/man/Makefile | 3 | ||||
-rw-r--r-- | lib/libssl/man/SSL_dup_CA_list.3 | 51 |
2 files changed, 53 insertions, 1 deletions
diff --git a/lib/libssl/man/Makefile b/lib/libssl/man/Makefile index 8e058f005c5..ee742bc7207 100644 --- a/lib/libssl/man/Makefile +++ b/lib/libssl/man/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.46 2016/12/06 23:45:34 schwarze Exp $ +# $OpenBSD: Makefile,v 1.47 2016/12/07 15:14:34 schwarze Exp $ .include <bsd.own.mk> @@ -55,6 +55,7 @@ MAN = BIO_f_ssl.3 \ SSL_clear.3 \ SSL_connect.3 \ SSL_do_handshake.3 \ + SSL_dup_CA_list.3 \ SSL_free.3 \ SSL_get_SSL_CTX.3 \ SSL_get_ciphers.3 \ diff --git a/lib/libssl/man/SSL_dup_CA_list.3 b/lib/libssl/man/SSL_dup_CA_list.3 new file mode 100644 index 00000000000..ef8f1ce7203 --- /dev/null +++ b/lib/libssl/man/SSL_dup_CA_list.3 @@ -0,0 +1,51 @@ +.\" $OpenBSD: SSL_dup_CA_list.3,v 1.1 2016/12/07 15:14:34 schwarze Exp $ +.\" +.\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: December 7 2016 $ +.Dt SSL_DUP_CA_LIST 3 +.Os +.Sh NAME +.Nm SSL_dup_CA_list +.Nd deep copy of a stack of X.509 Name objects +.\" The capital "N" in "Name" is intentional (X.509 syntax). +.Sh SYNOPSIS +.Ft STACK_OF(X509_NAME) * +.Fo SSL_dup_CA_list +.Fa "STACK_OF(X509_NAME) *sk" +.Fc +.Sh DESCRIPTION +.Fn SSL_dup_CA_list +constructs a new +.Vt STACK_OF(X509_NAME) +object and places copies of all the +.Vt X509_NAME +objects found on +.Fa sk +on it. +.Sh RETURN VALUES +.Fn SSL_dup_CA_list +returns the new +.Vt STACK_OF(X509_NAME) +or +.Dv NULL +on failure. +.Sh SEE ALSO +.Xr SSL_CTX_set_client_CA_list 3 , +.Xr SSL_get_client_CA_list 3 , +.Xr SSL_load_client_CA_file 3 +.Sh HISTORY +.Fn SSL_dup_CA_list +is available in all versions of OpenSSL. |