summaryrefslogtreecommitdiffstats
path: root/crypto/threads
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-06-21 19:12:33 +0200
committerRichard Levitte <levitte@openssl.org>2015-06-21 22:12:07 +0200
commit7ef465050edfd8e8d95e01affc02f6e26cf6fa7d (patch)
tree81b926f23e4e7f2f2bec1d0655fb465df82473cd /crypto/threads
parent8ca211707afe1b946020e9c9a83cc5c047dfc7a0 (diff)
Cleanup mttest.c : make ssl_method a pointer to const
Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit f4c73bfe0ab7a0e8f82fe2947c0f77fe3d98acab) Conflicts: crypto/threads/mttest.c
Diffstat (limited to 'crypto/threads')
-rw-r--r--crypto/threads/mttest.c2
1 files changed, 1 insertions, 1 deletions
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);