summaryrefslogtreecommitdiffstats
path: root/ssl/s23_meth.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/s23_meth.c')
-rw-r--r--ssl/s23_meth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssl/s23_meth.c b/ssl/s23_meth.c
index bbda4ff182..edcbdbb2bd 100644
--- a/ssl/s23_meth.c
+++ b/ssl/s23_meth.c
@@ -66,8 +66,7 @@ static SSL_METHOD *ssl23_get_method(int ver);
static SSL_METHOD *ssl23_get_method();
#endif
-static SSL_METHOD *ssl23_get_method(ver)
-int ver;
+static SSL_METHOD *ssl23_get_method(int ver)
{
if (ver == SSL2_VERSION)
return(SSLv23_method());
@@ -79,7 +78,7 @@ int ver;
return(NULL);
}
-SSL_METHOD *SSLv23_method()
+SSL_METHOD *SSLv23_method(void)
{
static int init=1;
static SSL_METHOD SSLv23_data;