projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update dependencies.
[oweals/openssl.git]
/
ssl
/
t1_meth.c
diff --git
a/ssl/t1_meth.c
b/ssl/t1_meth.c
index 512c2078e763740c939fa46ee9ea5f2988e3054c..fb065d2c94cc5a47fd4c421ec14d553a8041bd74 100644
(file)
--- a/
ssl/t1_meth.c
+++ b/
ssl/t1_meth.c
@@
-60,8
+60,13
@@
#include "objects.h"
#include "ssl_locl.h"
#include "objects.h"
#include "ssl_locl.h"
-static SSL_METHOD *tls1_get_method(ver)
-int ver;
+#ifndef NOPROTO
+static SSL_METHOD *tls1_get_method(int ver);
+#else
+static SSL_METHOD *tls1_get_method();
+#endif
+
+static SSL_METHOD *tls1_get_method(int ver)
{
if (ver == TLS1_VERSION)
return(TLSv1_method());
{
if (ver == TLS1_VERSION)
return(TLSv1_method());
@@
-69,7
+74,7
@@
int ver;
return(NULL);
}
return(NULL);
}
-SSL_METHOD *TLSv1_method()
+SSL_METHOD *TLSv1_method(
void
)
{
static int init=1;
static SSL_METHOD TLSv1_data;
{
static int init=1;
static SSL_METHOD TLSv1_data;