Cleanup mttest.c : make ssl_method a pointer to const
authorRichard Levitte <levitte@openssl.org>
Sun, 21 Jun 2015 17:12:33 +0000 (19:12 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 21 Jun 2015 19:45:47 +0000 (21:45 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/threads/mttest.c

index 01b5878..0ad8d0f 100644 (file)
@@ -189,7 +189,7 @@ int main(int argc, char *argv[])
     SSL_CTX *c_ctx = NULL;
     char *scert = TEST_SERVER_CERT;
     char *ccert = TEST_CLIENT_CERT;
-    SSL_METHOD *ssl_method = TLS_method();
+    const SSL_METHOD *ssl_method = TLS_method();
 
     RAND_seed(rnd_seed, sizeof rnd_seed);