diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /ssl/t1_meth.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) | |
download | openssl-new-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.gz |
Change functions to ANSI C.
Diffstat (limited to 'ssl/t1_meth.c')
-rw-r--r-- | ssl/t1_meth.c | 5 |
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; |