diff options
Diffstat (limited to 'src/lib/libssl/doc/SSL_get_ciphers.3')
-rw-r--r-- | src/lib/libssl/doc/SSL_get_ciphers.3 | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/src/lib/libssl/doc/SSL_get_ciphers.3 b/src/lib/libssl/doc/SSL_get_ciphers.3 deleted file mode 100644 index 89abc172b4..0000000000 --- a/src/lib/libssl/doc/SSL_get_ciphers.3 +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | .\" | ||
2 | .\" $OpenBSD: SSL_get_ciphers.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | ||
3 | .\" | ||
4 | .Dd $Mdocdate: December 2 2014 $ | ||
5 | .Dt SSL_GET_CIPHERS 3 | ||
6 | .Os | ||
7 | .Sh NAME | ||
8 | .Nm SSL_get_ciphers , | ||
9 | .Nm SSL_get_cipher_list | ||
10 | .Nd get list of available SSL_CIPHERs | ||
11 | .Sh SYNOPSIS | ||
12 | .In openssl/ssl.h | ||
13 | .Ft STACK_OF(SSL_CIPHER) * | ||
14 | .Fn SSL_get_ciphers "const SSL *ssl" | ||
15 | .Ft const char * | ||
16 | .Fn SSL_get_cipher_list "const SSL *ssl" "int priority" | ||
17 | .Sh DESCRIPTION | ||
18 | .Fn SSL_get_ciphers | ||
19 | returns the stack of available | ||
20 | .Vt SSL_CIPHER Ns s | ||
21 | for | ||
22 | .Fa ssl , | ||
23 | sorted by preference. | ||
24 | If | ||
25 | .Fa ssl | ||
26 | is | ||
27 | .Dv NULL | ||
28 | or no ciphers are available, | ||
29 | .Dv NULL | ||
30 | is returned. | ||
31 | .Pp | ||
32 | .Fn SSL_get_cipher_list | ||
33 | returns a pointer to the name of the | ||
34 | .Vt SSL_CIPHER | ||
35 | listed for | ||
36 | .Fa ssl | ||
37 | with | ||
38 | .Fa priority . | ||
39 | If | ||
40 | .Fa ssl | ||
41 | is | ||
42 | .Dv NULL , | ||
43 | no ciphers are available, or there are fewer ciphers than | ||
44 | .Fa priority | ||
45 | available, | ||
46 | .Dv NULL | ||
47 | is returned. | ||
48 | .Sh NOTES | ||
49 | The details of the ciphers obtained by | ||
50 | .Fn SSL_get_ciphers | ||
51 | can be obtained using the | ||
52 | .Xr SSL_CIPHER_get_name 3 | ||
53 | family of functions. | ||
54 | .Pp | ||
55 | Call | ||
56 | .Fn SSL_get_cipher_list | ||
57 | with | ||
58 | .Fa priority | ||
59 | starting from 0 to obtain the sorted list of available ciphers, until | ||
60 | .Dv NULL | ||
61 | is returned. | ||
62 | .Sh RETURN VALUES | ||
63 | See | ||
64 | .Sx DESCRIPTION . | ||
65 | .Sh SEE ALSO | ||
66 | .Xr ssl 3 , | ||
67 | .Xr SSL_CIPHER_get_name 3 , | ||
68 | .Xr SSL_CTX_set_cipher_list 3 | ||