Let the TLSv1_method() etc. functions return a const SSL_METHOD
[openssl.git] / ssl / ssltest.c
index 8c04e7434d3fcf59c7bc8fa5630a63beea5e9024..ee4e99af6446add197661da5967977a30c9f730b 100644 (file)
@@ -401,7 +401,7 @@ int main(int argc, char *argv[])
 #endif
        SSL_CTX *s_ctx=NULL;
        SSL_CTX *c_ctx=NULL;
-       SSL_METHOD *meth=NULL;
+       const SSL_METHOD *meth=NULL;
        SSL *c_ssl,*s_ssl;
        int number=1,reuse=0;
        long bytes=256L;