Let the TLSv1_method() etc. functions return a const SSL_METHOD
[openssl.git] / apps / s_time.c
index 904945e1a866a38a778b8f80a852a9e5abfed7da..606de54a864749a9247548735f537104806bdf6b 100644 (file)
@@ -177,7 +177,7 @@ static char *tm_cipher=NULL;
 static int tm_verify = SSL_VERIFY_NONE;
 static int maxTime = SECONDS;
 static SSL_CTX *tm_ctx=NULL;
-static SSL_METHOD *s_time_meth=NULL;
+static const SSL_METHOD *s_time_meth=NULL;
 static char *s_www_path=NULL;
 static long bytes_read=0; 
 static int st_bugs=0;