summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2014-10-21 21:32:50 +0200
committerKurt Roeckx <kurt@roeckx.be>2014-10-21 21:32:50 +0200
commitd510c6489ef4065478b83ba5911e37b326e539dd (patch)
tree4a362d27cbfe99b20b8274f12143854a4d6abca1 /ssl
parentb82924741b4bd590da890619be671f4635e46c2b (diff)
Fix warning
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s23_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c
index bfbe5bc504..5486a3621d 100644
--- a/ssl/s23_srvr.c
+++ b/ssl/s23_srvr.c
@@ -559,7 +559,7 @@ int ssl23_get_client_hello(SSL *s)
if ((type == 2) || (type == 3))
{
/* we have SSLv3/TLSv1 (type 2: SSL2 style, type 3: SSL3/TLS style) */
- const SSL_METHOD *new_method;
+ SSL_METHOD *new_method;
new_method = ssl23_get_server_method(s->version);
if (new_method == NULL)
{