summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2020-09-16 07:11:14 +0000
committerschwarze <>2020-09-16 07:11:14 +0000
commit9118930a1739225789e932d31d639b1e1d796806 (patch)
treec4ee4e24e41755309f5ce14f506966921164f105
parent72d1faaa1dcafc7fcd01a3090ca62f38875b0a50 (diff)
downloadopenbsd-9118930a1739225789e932d31d639b1e1d796806.tar.gz
openbsd-9118930a1739225789e932d31d639b1e1d796806.tar.bz2
openbsd-9118930a1739225789e932d31d639b1e1d796806.zip
Mark SSL_get_cipher_list(3) as deprecated; it is badly misnamed, and there
is already a comment above it in ssl_lib.c in both OpenSSL and LibreSSL: /* The old interface to get the same thing as SSL_get_ciphers(). */ Suggested by and OK jsing@.
-rw-r--r--src/lib/libssl/man/SSL_get_ciphers.310
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libssl/man/SSL_get_ciphers.3 b/src/lib/libssl/man/SSL_get_ciphers.3
index 919bef34c0..598e954456 100644
--- a/src/lib/libssl/man/SSL_get_ciphers.3
+++ b/src/lib/libssl/man/SSL_get_ciphers.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: SSL_get_ciphers.3,v 1.9 2020/09/15 18:37:25 schwarze Exp $ 1.\" $OpenBSD: SSL_get_ciphers.3,v 1.10 2020/09/16 07:11:14 schwarze Exp $
2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" selective merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100 3.\" selective merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100
4.\" 4.\"
@@ -69,7 +69,7 @@
69.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 69.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
70.\" OF THE POSSIBILITY OF SUCH DAMAGE. 70.\" OF THE POSSIBILITY OF SUCH DAMAGE.
71.\" 71.\"
72.Dd $Mdocdate: September 15 2020 $ 72.Dd $Mdocdate: September 16 2020 $
73.Dt SSL_GET_CIPHERS 3 73.Dt SSL_GET_CIPHERS 3
74.Os 74.Os
75.Sh NAME 75.Sh NAME
@@ -139,8 +139,10 @@ can be obtained using the
139family of functions. 139family of functions.
140.Pp 140.Pp
141.Fn SSL_get_cipher_list 141.Fn SSL_get_cipher_list
142is badly misnamed; it does not return a list. 142is deprecated \(em use
143Instead, it returns the name of one element of the return value of 143.Fn SSL_get_ciphers
144instead \(em and badly misnamed; it does not return a list
145but the name of one element of the return value of
144.Fn SSL_get_ciphers , 146.Fn SSL_get_ciphers ,
145with the index given by the 147with the index given by the
146.Fa priority 148.Fa priority