Fix compilation without OPENSSL_NO_COMP :-)
[openssl.git] / ssl / s2_meth.c
index a35e435b71379c3d61b89deccf12232df862e1e4..2bffa78ff4ca35b5eb0b64b9e8c1fa8edf9b202e 100644 (file)
@@ -61,8 +61,8 @@
 #include <stdio.h>
 #include <openssl/objects.h>
 
-static SSL_METHOD *ssl2_get_method(int ver);
-static SSL_METHOD *ssl2_get_method(int ver)
+static const SSL_METHOD *ssl2_get_method(int ver);
+static const SSL_METHOD *ssl2_get_method(int ver)
        {
        if (ver == SSL2_VERSION)
                return(SSLv2_method());