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.h | |
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.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index e69979cbf6..e3f536aa43 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.234 2024/03/02 11:44:47 tb Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.235 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 | * |
@@ -1122,8 +1122,6 @@ int SSL_clear(SSL *s); | |||
1122 | void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm); | 1122 | void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm); |
1123 | 1123 | ||
1124 | const SSL_CIPHER *SSL_get_current_cipher(const SSL *s); | 1124 | const SSL_CIPHER *SSL_get_current_cipher(const SSL *s); |
1125 | const SSL_CIPHER *SSL_CIPHER_get_by_id(unsigned int id); | ||
1126 | const SSL_CIPHER *SSL_CIPHER_get_by_value(uint16_t value); | ||
1127 | int SSL_CIPHER_get_bits(const SSL_CIPHER *c, int *alg_bits); | 1125 | int SSL_CIPHER_get_bits(const SSL_CIPHER *c, int *alg_bits); |
1128 | const char * SSL_CIPHER_get_version(const SSL_CIPHER *c); | 1126 | const char * SSL_CIPHER_get_version(const SSL_CIPHER *c); |
1129 | const char * SSL_CIPHER_get_name(const SSL_CIPHER *c); | 1127 | const char * SSL_CIPHER_get_name(const SSL_CIPHER *c); |