From: Richard Levitte Date: Sun, 21 Jun 2015 17:12:33 +0000 (+0200) Subject: Cleanup mttest.c : make ssl_method a pointer to const X-Git-Tag: OpenSSL_1_0_2d~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7ef465050edfd8e8d95e01affc02f6e26cf6fa7d;p=oweals%2Fopenssl.git Cleanup mttest.c : make ssl_method a pointer to const Reviewed-by: Rich Salz (cherry picked from commit f4c73bfe0ab7a0e8f82fe2947c0f77fe3d98acab) Conflicts: crypto/threads/mttest.c --- diff --git a/crypto/threads/mttest.c b/crypto/threads/mttest.c index a2beba2976..7feffcc83c 100644 --- a/crypto/threads/mttest.c +++ b/crypto/threads/mttest.c @@ -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);