diff options
| author | schwarze <> | 2016-12-03 09:00:46 +0000 |
|---|---|---|
| committer | schwarze <> | 2016-12-03 09:00:46 +0000 |
| commit | ace5e220f74dfcd95600b1cf766495f0186e4134 (patch) | |
| tree | 553b2b67ded4184af1afe68f9cdcd30bfe79a2e5 /src | |
| parent | 4db25f4bf34c34722d8da35e3de44fa193d7fa01 (diff) | |
| download | openbsd-ace5e220f74dfcd95600b1cf766495f0186e4134.tar.gz openbsd-ace5e220f74dfcd95600b1cf766495f0186e4134.tar.bz2 openbsd-ace5e220f74dfcd95600b1cf766495f0186e4134.zip | |
Add Copyright and license.
Some additional explanations from OpenSSL.
Delete empty RETURN VALUES section.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/man/SSL_get_ciphers.3 | 73 |
1 files changed, 62 insertions, 11 deletions
diff --git a/src/lib/libssl/man/SSL_get_ciphers.3 b/src/lib/libssl/man/SSL_get_ciphers.3 index 4469b73f92..4c3bbc45ce 100644 --- a/src/lib/libssl/man/SSL_get_ciphers.3 +++ b/src/lib/libssl/man/SSL_get_ciphers.3 | |||
| @@ -1,7 +1,54 @@ | |||
| 1 | .\" $OpenBSD: SSL_get_ciphers.3,v 1.2 2016/12/03 09:00:46 schwarze Exp $ | ||
| 2 | .\" OpenSSL c3e64028 Mar 30 11:50:14 2005 +0000 | ||
| 1 | .\" | 3 | .\" |
| 2 | .\" $OpenBSD: SSL_get_ciphers.3,v 1.1 2016/11/05 15:32:20 schwarze Exp $ | 4 | .\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. |
| 5 | .\" Copyright (c) 2000, 2005, 2015 The OpenSSL Project. All rights reserved. | ||
| 3 | .\" | 6 | .\" |
| 4 | .Dd $Mdocdate: November 5 2016 $ | 7 | .\" Redistribution and use in source and binary forms, with or without |
| 8 | .\" modification, are permitted provided that the following conditions | ||
| 9 | .\" are met: | ||
| 10 | .\" | ||
| 11 | .\" 1. Redistributions of source code must retain the above copyright | ||
| 12 | .\" notice, this list of conditions and the following disclaimer. | ||
| 13 | .\" | ||
| 14 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
| 15 | .\" notice, this list of conditions and the following disclaimer in | ||
| 16 | .\" the documentation and/or other materials provided with the | ||
| 17 | .\" distribution. | ||
| 18 | .\" | ||
| 19 | .\" 3. All advertising materials mentioning features or use of this | ||
| 20 | .\" software must display the following acknowledgment: | ||
| 21 | .\" "This product includes software developed by the OpenSSL Project | ||
| 22 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
| 23 | .\" | ||
| 24 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 25 | .\" endorse or promote products derived from this software without | ||
| 26 | .\" prior written permission. For written permission, please contact | ||
| 27 | .\" openssl-core@openssl.org. | ||
| 28 | .\" | ||
| 29 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
| 30 | .\" nor may "OpenSSL" appear in their names without prior written | ||
| 31 | .\" permission of the OpenSSL Project. | ||
| 32 | .\" | ||
| 33 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
| 34 | .\" acknowledgment: | ||
| 35 | .\" "This product includes software developed by the OpenSSL Project | ||
| 36 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
| 37 | .\" | ||
| 38 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 39 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 40 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 41 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 42 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 47 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | .\" | ||
| 51 | .Dd $Mdocdate: December 3 2016 $ | ||
| 5 | .Dt SSL_GET_CIPHERS 3 | 52 | .Dt SSL_GET_CIPHERS 3 |
| 6 | .Os | 53 | .Os |
| 7 | .Sh NAME | 54 | .Sh NAME |
| @@ -29,6 +76,19 @@ or no ciphers are available, | |||
| 29 | .Dv NULL | 76 | .Dv NULL |
| 30 | is returned. | 77 | is returned. |
| 31 | .Pp | 78 | .Pp |
| 79 | .Fn SSL_get_ciphers | ||
| 80 | returns a pointer to an internal cipher stack, which will be freed | ||
| 81 | later on when the | ||
| 82 | .Vt SSL | ||
| 83 | object is freed. | ||
| 84 | Therefore, the calling code must not free the return value itself. | ||
| 85 | .Pp | ||
| 86 | The details of the ciphers obtained by | ||
| 87 | .Fn SSL_get_ciphers | ||
| 88 | can be obtained using the | ||
| 89 | .Xr SSL_CIPHER_get_name 3 | ||
| 90 | family of functions. | ||
| 91 | .Pp | ||
| 32 | .Fn SSL_get_cipher_list | 92 | .Fn SSL_get_cipher_list |
| 33 | returns a pointer to the name of the | 93 | returns a pointer to the name of the |
| 34 | .Vt SSL_CIPHER | 94 | .Vt SSL_CIPHER |
| @@ -45,12 +105,6 @@ no ciphers are available, or there are fewer ciphers than | |||
| 45 | available, | 105 | available, |
| 46 | .Dv NULL | 106 | .Dv NULL |
| 47 | is returned. | 107 | 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 | 108 | .Pp |
| 55 | Call | 109 | Call |
| 56 | .Fn SSL_get_cipher_list | 110 | .Fn SSL_get_cipher_list |
| @@ -59,9 +113,6 @@ with | |||
| 59 | starting from 0 to obtain the sorted list of available ciphers, until | 113 | starting from 0 to obtain the sorted list of available ciphers, until |
| 60 | .Dv NULL | 114 | .Dv NULL |
| 61 | is returned. | 115 | is returned. |
| 62 | .Sh RETURN VALUES | ||
| 63 | See | ||
| 64 | .Sx DESCRIPTION . | ||
| 65 | .Sh SEE ALSO | 116 | .Sh SEE ALSO |
| 66 | .Xr ssl 3 , | 117 | .Xr ssl 3 , |
| 67 | .Xr SSL_CIPHER_get_name 3 , | 118 | .Xr SSL_CIPHER_get_name 3 , |
