From: Nils Larsch Date: Mon, 8 Aug 2005 19:04:37 +0000 (+0000) Subject: remove unused internal foo_base_method functions X-Git-Tag: OpenSSL_0_9_8k^2~1863 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01a9792f05a2e5294c1aae8f94e96eb5651f463f;p=oweals%2Fopenssl.git remove unused internal foo_base_method functions --- diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 070bb1ec18..c002b0494a 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -84,11 +84,6 @@ long dtls1_default_timeout(void) return(60*60*2); } -IMPLEMENT_dtls1_meth_func(dtls1_base_method, - ssl_undefined_function, - ssl_undefined_function, - ssl_bad_method) - int dtls1_new(SSL *s) { DTLS1_STATE *d1; diff --git a/ssl/s23_lib.c b/ssl/s23_lib.c index fc2981308d..88fb564a2b 100644 --- a/ssl/s23_lib.c +++ b/ssl/s23_lib.c @@ -65,11 +65,6 @@ long ssl23_default_timeout(void) return(300); } -IMPLEMENT_ssl23_meth_func(sslv23_base_method, - ssl_undefined_function, - ssl_undefined_function, - ssl_bad_method) - int ssl23_num_ciphers(void) { return(ssl3_num_ciphers() diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c index cec19673f5..6b5b7a485a 100644 --- a/ssl/s2_lib.c +++ b/ssl/s2_lib.c @@ -215,11 +215,6 @@ long ssl2_default_timeout(void) return(300); } -IMPLEMENT_ssl2_meth_func(sslv2_base_method, - ssl_undefined_function, - ssl_undefined_function, - ssl_bad_method) - int ssl2_num_ciphers(void) { return(SSL2_NUM_CIPHERS); diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index e42967b7e3..e98f62900f 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -1375,11 +1375,6 @@ long ssl3_default_timeout(void) return(60*60*2); } -IMPLEMENT_ssl3_meth_func(sslv3_base_method, - ssl_undefined_function, - ssl_undefined_function, - ssl_bad_method) - int ssl3_num_ciphers(void) { return(SSL3_NUM_CIPHERS); diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 69970a7692..fb2cbfdd68 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -511,9 +511,6 @@ OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[]; SSL_METHOD *ssl_bad_method(int ver); -SSL_METHOD *sslv2_base_method(void); -SSL_METHOD *sslv23_base_method(void); -SSL_METHOD *sslv3_base_method(void); extern SSL3_ENC_METHOD TLSv1_enc_data; extern SSL3_ENC_METHOD SSLv3_enc_data; @@ -907,7 +904,6 @@ void tls1_free(SSL *s); void tls1_clear(SSL *s); long tls1_ctrl(SSL *s,int cmd, long larg, void *parg); long tls1_callback_ctrl(SSL *s,int cmd, void (*fp)(void)); -SSL_METHOD *tlsv1_base_method(void ); int dtls1_new(SSL *s); int dtls1_accept(SSL *s); @@ -915,7 +911,6 @@ int dtls1_connect(SSL *s); void dtls1_free(SSL *s); void dtls1_clear(SSL *s); long dtls1_ctrl(SSL *s,int cmd, long larg, void *parg); -SSL_METHOD *dtlsv1_base_method(void ); long dtls1_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok); int dtls1_get_record(SSL *s); diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index d4516eba71..fd0d8215b0 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -83,11 +83,6 @@ long tls1_default_timeout(void) return(60*60*2); } -IMPLEMENT_tls1_meth_func(tlsv1_base_method, - ssl_undefined_function, - ssl_undefined_function, - ssl_bad_method) - int tls1_new(SSL *s) { if (!ssl3_new(s)) return(0);