Use C syntax, not FORTRAN or whatever that was :-)
[openssl.git] / ssl / t1_lib.c
index b734528da0426905c0fa467c9126cd12034ed20b..ca6c03d5af18654c7c1413b2bf4deac8749f63cd 100644 (file)
@@ -60,7 +60,7 @@
 #include <openssl/objects.h>
 #include "ssl_locl.h"
 
-char *tls1_version_str="TLSv1" OPENSSL_VERSION_PTEXT;
+const char *tls1_version_str="TLSv1" OPENSSL_VERSION_PTEXT;
 
 static long tls1_default_timeout(void);
 
@@ -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