summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-09-16 07:11:14 +0000
committerschwarze <schwarze@openbsd.org>2020-09-16 07:11:14 +0000
commit5e5b2a6465c81140dbddd80728d48946208e4ab9 (patch)
treefdd5ef50e8d57d4bdb8092de0aabb19cec0a745d
parentAvoid memset() before memcpy() for CBB_add_bytes(). (diff)
downloadwireguard-openbsd-5e5b2a6465c81140dbddd80728d48946208e4ab9.tar.xz
wireguard-openbsd-5e5b2a6465c81140dbddd80728d48946208e4ab9.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--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