diff options
author | tb <> | 2024-03-02 11:45:51 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 11:45:51 +0000 |
commit | 17dd058fa6a2fcf296d19d4fca23180abec5ba40 (patch) | |
tree | e9755883499836e92c295348e26df61a6c93fdfd /src/lib/libssl/ssl_ciph.c | |
parent | 253b63fb51401d34d0ccce903a2a1c39698e8461 (diff) | |
download | openbsd-17dd058fa6a2fcf296d19d4fca23180abec5ba40.tar.gz openbsd-17dd058fa6a2fcf296d19d4fca23180abec5ba40.tar.bz2 openbsd-17dd058fa6a2fcf296d19d4fca23180abec5ba40.zip |
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 'src/lib/libssl/ssl_ciph.c')
-rw-r--r-- | src/lib/libssl/ssl_ciph.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c index 76a3840520..45d7889b9a 100644 --- a/src/lib/libssl/ssl_ciph.c +++ b/src/lib/libssl/ssl_ciph.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_ciph.c,v 1.139 2024/02/03 15:58:33 beck Exp $ */ | 1 | /* $OpenBSD: ssl_ciph.c,v 1.140 2024/03/02 11:45:51 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1341,20 +1341,6 @@ ssl_create_cipher_list(const SSL_METHOD *ssl_method, | |||
1341 | return ret; | 1341 | return ret; |
1342 | } | 1342 | } |
1343 | 1343 | ||
1344 | const SSL_CIPHER * | ||
1345 | SSL_CIPHER_get_by_id(unsigned int id) | ||
1346 | { | ||
1347 | return ssl3_get_cipher_by_id(id); | ||
1348 | } | ||
1349 | LSSL_ALIAS(SSL_CIPHER_get_by_id); | ||
1350 | |||
1351 | const SSL_CIPHER * | ||
1352 | SSL_CIPHER_get_by_value(uint16_t value) | ||
1353 | { | ||
1354 | return ssl3_get_cipher_by_value(value); | ||
1355 | } | ||
1356 | LSSL_ALIAS(SSL_CIPHER_get_by_value); | ||
1357 | |||
1358 | char * | 1344 | char * |
1359 | SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) | 1345 | SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) |
1360 | { | 1346 | { |