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 20:13:28 +0000 (22:13 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit f4c73bfe0ab7a0e8f82fe2947c0f77fe3d98acab)

Conflicts:
crypto/threads/mttest.c

crypto/threads/mttest.c

index a2beba297661a4d9ca20f191d765adce6ffb33ca..7feffcc83cd877c50e0dc4dcc9b56eee0e4948a2 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 = SSLv23_method();
+    const SSL_METHOD *ssl_method = SSLv23_method();
 
     RAND_seed(rnd_seed, sizeof rnd_seed);