summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2020-09-16 07:11:15 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2020-09-16 07:11:15 +0000
commit76b47dcb7d64a25a45bc76ab8b8c3b1c9c0c3da1 (patch)
treedc93ea06e53ab6bf0471b72076301c1ad90b13f0 /lib/libssl
parent4c25cc7907ecafb21f88403ffe9fb9243b7cdb8d (diff)
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@.
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/man/SSL_get_ciphers.310
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libssl/man/SSL_get_ciphers.3 b/lib/libssl/man/SSL_get_ciphers.3
index 919bef34c0b..598e9544566 100644
--- a/lib/libssl/man/SSL_get_ciphers.3
+++ b/lib/libssl/man/SSL_get_ciphers.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: SSL_get_ciphers.3,v 1.9 2020/09/15 18:37:25 schwarze Exp $
+.\" $OpenBSD: SSL_get_ciphers.3,v 1.10 2020/09/16 07:11:14 schwarze Exp $
.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\" selective merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100
.\"
@@ -69,7 +69,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 15 2020 $
+.Dd $Mdocdate: September 16 2020 $
.Dt SSL_GET_CIPHERS 3
.Os
.Sh NAME
@@ -139,8 +139,10 @@ can be obtained using the
family of functions.
.Pp
.Fn SSL_get_cipher_list
-is badly misnamed; it does not return a list.
-Instead, it returns the name of one element of the return value of
+is deprecated \(em use
+.Fn SSL_get_ciphers
+instead \(em and badly misnamed; it does not return a list
+but the name of one element of the return value of
.Fn SSL_get_ciphers ,
with the index given by the
.Fa priority