Move the registration of callback functions to special functions
[openssl.git] / ssl / t1_lib.c
index 531969b4219cdff5e08fe7926da0e2db4695a6cf..ca6c03d5af18654c7c1413b2bf4deac8749f63cd 100644 (file)
@@ -101,6 +101,9 @@ static SSL_METHOD TLSv1_data= {
        ssl_bad_method,
        tls1_default_timeout,
        &TLSv1_enc_data,
+       ssl_undefined_function,
+       ssl3_callback_ctrl,
+       ssl3_ctx_callback_ctrl,
        };
 
 static long tls1_default_timeout(void)
@@ -138,4 +141,9 @@ long tls1_ctrl(SSL *s, int cmd, long larg, char *parg)
        {
        return(0);
        }
+
+long tls1_callback_ctrl(SSL *s, int cmd, void *(*fp)())
+       {
+       return(0);
+       }
 #endif