Fix warning
authorKurt Roeckx <kurt@roeckx.be>
Tue, 21 Oct 2014 19:32:50 +0000 (21:32 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Tue, 21 Oct 2014 19:32:50 +0000 (21:32 +0200)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
ssl/s23_srvr.c

index bfbe5bc5047963d344c681ce545095e138fc3cc9..5486a3621dcbbb295ebf6e18e9c0197a07c0397d 100644 (file)
@@ -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)
                        {