remove unused internal foo_base_method functions
authorNils Larsch <nils@openssl.org>
Mon, 8 Aug 2005 19:04:37 +0000 (19:04 +0000)
committerNils Larsch <nils@openssl.org>
Mon, 8 Aug 2005 19:04:37 +0000 (19:04 +0000)
ssl/d1_lib.c
ssl/s23_lib.c
ssl/s2_lib.c
ssl/s3_lib.c
ssl/ssl_locl.h
ssl/t1_lib.c

index 070bb1e..c002b04 100644 (file)
@@ -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;
index fc29813..88fb564 100644 (file)
@@ -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()
index cec1967..6b5b7a4 100644 (file)
@@ -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);
index e42967b..e98f629 100644 (file)
@@ -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);
index 69970a7..fb2cbfd 100644 (file)
@@ -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);
index d4516eb..fd0d821 100644 (file)
@@ -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);