projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Permit null ciphers.
[openssl.git]
/
ssl
/
s2_meth.c
diff --git
a/ssl/s2_meth.c
b/ssl/s2_meth.c
index 0b8c2acb48333003453a5f8215ffb858c2417515..f28c9162cff4357943d63064e2fa226cb455234e 100644
(file)
--- a/
ssl/s2_meth.c
+++ b/
ssl/s2_meth.c
@@
-1,5
+1,5
@@
/* ssl/s2_meth.c */
/* ssl/s2_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,10
+60,16
@@
#include "objects.h"
#include "ssl_locl.h"
#include "objects.h"
#include "ssl_locl.h"
+#ifndef NOPROTO
+static SSL_METHOD *ssl2_get_method(int ver);
+#else
+static SSL_METHOD *ssl2_get_method();
+#endif
+
static SSL_METHOD *ssl2_get_method(ver)
int ver;
{
static SSL_METHOD *ssl2_get_method(ver)
int ver;
{
- if (ver ==
2
)
+ if (ver ==
SSL2_VERSION
)
return(SSLv2_method());
else
return(NULL);
return(SSLv2_method());
else
return(NULL);