summaryrefslogtreecommitdiffstats
path: root/ssl/t1_meth.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/t1_meth.c')
-rw-r--r--ssl/t1_meth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssl/t1_meth.c b/ssl/t1_meth.c
index d64b5f4e67..fb065d2c94 100644
--- a/ssl/t1_meth.c
+++ b/ssl/t1_meth.c
@@ -66,8 +66,7 @@ static SSL_METHOD *tls1_get_method(int ver);
static SSL_METHOD *tls1_get_method();
#endif
-static SSL_METHOD *tls1_get_method(ver)
-int ver;
+static SSL_METHOD *tls1_get_method(int ver)
{
if (ver == TLS1_VERSION)
return(TLSv1_method());
@@ -75,7 +74,7 @@ int ver;
return(NULL);
}
-SSL_METHOD *TLSv1_method()
+SSL_METHOD *TLSv1_method(void)
{
static int init=1;
static SSL_METHOD TLSv1_data;