summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-03-02 11:45:52 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-03-02 11:45:52 +0000
commitaf769d9b4bbea3d74ae955ddcbfb17e6f323223c (patch)
treebdfe1611db87a1077dfef46e235f2ff47da6e477 /lib/libssl/ssl_ciph.c
parent07fac7d4bbeafb8a510c08960bfab8b54dca3e4b (diff)
Remove SSL_CIPHER_get_by_{id,value}()
While this undocumented API would have been much nicer and saner than SSL_CIPHER_find(), nothing used this except for the exporter test. Let's get rid of it again. libssl uses ssl3_get_cipher_by_{id,value}() directly. ok jsing
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r--lib/libssl/ssl_ciph.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c
index 76a38405209..45d7889b9a1 100644
--- a/lib/libssl/ssl_ciph.c
+++ b/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_ciph.c,v 1.139 2024/02/03 15:58:33 beck Exp $ */
+/* $OpenBSD: ssl_ciph.c,v 1.140 2024/03/02 11:45:51 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1341,20 +1341,6 @@ ssl_create_cipher_list(const SSL_METHOD *ssl_method,
return ret;
}
-const SSL_CIPHER *
-SSL_CIPHER_get_by_id(unsigned int id)
-{
- return ssl3_get_cipher_by_id(id);
-}
-LSSL_ALIAS(SSL_CIPHER_get_by_id);
-
-const SSL_CIPHER *
-SSL_CIPHER_get_by_value(uint16_t value)
-{
- return ssl3_get_cipher_by_value(value);
-}
-LSSL_ALIAS(SSL_CIPHER_get_by_value);
-
char *
SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
{