diff options
author | schwarze <> | 2016-12-07 15:14:34 +0000 |
---|---|---|
committer | schwarze <> | 2016-12-07 15:14:34 +0000 |
commit | a3359692c2a782c1de9d1c037180a7ca78b9eced (patch) | |
tree | f82a20d29a2d03bac606a4ea50ed004f1f0bc28c | |
parent | 374bffc049e684c998c0fc37226c949a8c702283 (diff) | |
download | openbsd-a3359692c2a782c1de9d1c037180a7ca78b9eced.tar.gz openbsd-a3359692c2a782c1de9d1c037180a7ca78b9eced.tar.bz2 openbsd-a3359692c2a782c1de9d1c037180a7ca78b9eced.zip |
New SSL_dup_CA_list(3) manual written from scratch.
Mentioned in ssl(3) and <openssl/ssl.h>, so it is public.
-rw-r--r-- | src/lib/libssl/man/Makefile | 3 | ||||
-rw-r--r-- | src/lib/libssl/man/SSL_dup_CA_list.3 | 51 |
2 files changed, 53 insertions, 1 deletions
diff --git a/src/lib/libssl/man/Makefile b/src/lib/libssl/man/Makefile index 8e058f005c..ee742bc720 100644 --- a/src/lib/libssl/man/Makefile +++ b/src/lib/libssl/man/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.46 2016/12/06 23:45:34 schwarze Exp $ | 1 | # $OpenBSD: Makefile,v 1.47 2016/12/07 15:14:34 schwarze Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | 4 | ||
@@ -55,6 +55,7 @@ MAN = BIO_f_ssl.3 \ | |||
55 | SSL_clear.3 \ | 55 | SSL_clear.3 \ |
56 | SSL_connect.3 \ | 56 | SSL_connect.3 \ |
57 | SSL_do_handshake.3 \ | 57 | SSL_do_handshake.3 \ |
58 | SSL_dup_CA_list.3 \ | ||
58 | SSL_free.3 \ | 59 | SSL_free.3 \ |
59 | SSL_get_SSL_CTX.3 \ | 60 | SSL_get_SSL_CTX.3 \ |
60 | SSL_get_ciphers.3 \ | 61 | SSL_get_ciphers.3 \ |
diff --git a/src/lib/libssl/man/SSL_dup_CA_list.3 b/src/lib/libssl/man/SSL_dup_CA_list.3 new file mode 100644 index 0000000000..ef8f1ce720 --- /dev/null +++ b/src/lib/libssl/man/SSL_dup_CA_list.3 | |||
@@ -0,0 +1,51 @@ | |||
1 | .\" $OpenBSD: SSL_dup_CA_list.3,v 1.1 2016/12/07 15:14:34 schwarze Exp $ | ||
2 | .\" | ||
3 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> | ||
4 | .\" | ||
5 | .\" Permission to use, copy, modify, and distribute this software for any | ||
6 | .\" purpose with or without fee is hereby granted, provided that the above | ||
7 | .\" copyright notice and this permission notice appear in all copies. | ||
8 | .\" | ||
9 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
10 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
11 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
12 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
13 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
16 | .\" | ||
17 | .Dd $Mdocdate: December 7 2016 $ | ||
18 | .Dt SSL_DUP_CA_LIST 3 | ||
19 | .Os | ||
20 | .Sh NAME | ||
21 | .Nm SSL_dup_CA_list | ||
22 | .Nd deep copy of a stack of X.509 Name objects | ||
23 | .\" The capital "N" in "Name" is intentional (X.509 syntax). | ||
24 | .Sh SYNOPSIS | ||
25 | .Ft STACK_OF(X509_NAME) * | ||
26 | .Fo SSL_dup_CA_list | ||
27 | .Fa "STACK_OF(X509_NAME) *sk" | ||
28 | .Fc | ||
29 | .Sh DESCRIPTION | ||
30 | .Fn SSL_dup_CA_list | ||
31 | constructs a new | ||
32 | .Vt STACK_OF(X509_NAME) | ||
33 | object and places copies of all the | ||
34 | .Vt X509_NAME | ||
35 | objects found on | ||
36 | .Fa sk | ||
37 | on it. | ||
38 | .Sh RETURN VALUES | ||
39 | .Fn SSL_dup_CA_list | ||
40 | returns the new | ||
41 | .Vt STACK_OF(X509_NAME) | ||
42 | or | ||
43 | .Dv NULL | ||
44 | on failure. | ||
45 | .Sh SEE ALSO | ||
46 | .Xr SSL_CTX_set_client_CA_list 3 , | ||
47 | .Xr SSL_get_client_CA_list 3 , | ||
48 | .Xr SSL_load_client_CA_file 3 | ||
49 | .Sh HISTORY | ||
50 | .Fn SSL_dup_CA_list | ||
51 | is available in all versions of OpenSSL. | ||