diff options
Diffstat (limited to 'ssl/s2_meth.c')
-rw-r--r-- | ssl/s2_meth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ssl/s2_meth.c b/ssl/s2_meth.c index a35e435b7137..f0e8ca593d40 100644 --- a/ssl/s2_meth.c +++ b/ssl/s2_meth.c @@ -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()); @@ -71,9 +71,9 @@ static SSL_METHOD *ssl2_get_method(int ver) } IMPLEMENT_ssl2_meth_func(SSLv2_method, - ssl2_accept, - ssl2_connect, - ssl2_get_method) + ssl2_accept, + ssl2_connect, + ssl2_get_method) #else /* !OPENSSL_NO_SSL2 */ |