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
/
s3_meth.c
diff --git
a/ssl/s3_meth.c
b/ssl/s3_meth.c
index 4762b214421fa014c22bf4af939b0aacc05e957f..d9cd9c2210130020ddd7f3ebd71ab4ec71e208f7 100644
(file)
--- a/
ssl/s3_meth.c
+++ b/
ssl/s3_meth.c
@@
-1,5
+1,5
@@
/* ssl/s3_meth.c */
/* ssl/s3_meth.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-60,16
+60,21
@@
#include "objects.h"
#include "ssl_locl.h"
#include "objects.h"
#include "ssl_locl.h"
-static SSL_METHOD *ssl3_get_method(ver)
-int ver;
+#ifndef NOPROTO
+static SSL_METHOD *ssl3_get_method(int ver);
+#else
+static SSL_METHOD *ssl3_get_method();
+#endif
+
+static SSL_METHOD *ssl3_get_method(int ver)
{
{
- if (ver ==
3
)
+ if (ver ==
SSL3_VERSION
)
return(SSLv3_method());
return(SSLv3_method());
- else
+ else
return(NULL);
}
return(NULL);
}
-SSL_METHOD *SSLv3_method()
+SSL_METHOD *SSLv3_method(
void
)
{
static int init=1;
static SSL_METHOD SSLv3_data;
{
static int init=1;
static SSL_METHOD SSLv3_data;