diff options
author | Frederik Wedel-Heinen <frederik.wedel-heinen@dencrypt.dk> | 2024-01-15 20:05:26 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-01-19 14:06:20 +0100 |
commit | 7f7a910b6e8d5e564f5ce174236e44de0725f801 (patch) | |
tree | 86d6ec9533295c7d0075045594a3499e417d0dec /ssl | |
parent | a0826b184eed2dccc56cdf80e3e0bc061cc89ddc (diff) |
Removes unsed function: ssl_bad_method()
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23307)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_lib.c | 6 | ||||
-rw-r--r-- | ssl/ssl_local.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 13326d8925..5c8a780c19 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -4804,12 +4804,6 @@ int ssl_undefined_const_function(const SSL *s) return 0; } -const SSL_METHOD *ssl_bad_method(int ver) -{ - ERR_raise(ERR_LIB_SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); - return NULL; -} - const char *ssl_protocol_to_string(int version) { switch (version) diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index 4e99ada22c..aeb0036d3c 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -2235,7 +2235,6 @@ extern const unsigned char tls12downgrade[8]; extern SSL3_ENC_METHOD ssl3_undef_enc_method; -__owur const SSL_METHOD *ssl_bad_method(int ver); __owur const SSL_METHOD *sslv3_method(void); __owur const SSL_METHOD *sslv3_server_method(void); __owur const SSL_METHOD *sslv3_client_method(void); |