mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
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)
This commit is contained in:
parent
a0826b184e
commit
7f7a910b6e
@ -143,7 +143,6 @@ OSSL_DEPRECATEDIN_3_0 int ERR_load_SSL_strings(void);
|
||||
# define SSL_F_SSL_ADD_SERVERHELLO_RENEGOTIATE_EXT 0
|
||||
# define SSL_F_SSL_ADD_SERVERHELLO_TLSEXT 0
|
||||
# define SSL_F_SSL_ADD_SERVERHELLO_USE_SRTP_EXT 0
|
||||
# define SSL_F_SSL_BAD_METHOD 0
|
||||
# define SSL_F_SSL_BUILD_CERT_CHAIN 0
|
||||
# define SSL_F_SSL_BYTES_TO_CIPHER_LIST 0
|
||||
# define SSL_F_SSL_CACHE_CIPHERLIST 0
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user