X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=ssl%2Ft1_meth.c;h=fb065d2c94cc5a47fd4c421ec14d553a8041bd74;hb=2dcf04d160e510321e8e633bbe8824491d5047bf;hp=d64b5f4e679e23da1a4167a9f884a1e94b2eefb0;hpb=9b3086fe382e7b0f53b8634d0e75f1a659ab2653;p=oweals%2Fopenssl.git 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;