projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New option no-ssl3-method which removes SSLv3_*method
[openssl.git]
/
ssl
/
s3_meth.c
diff --git
a/ssl/s3_meth.c
b/ssl/s3_meth.c
index cdddb17b627d775dc65f6e5f77810d9f36ecf628..4dec7033d6c90ae309d5845beff53f865eed1e60 100644
(file)
--- a/
ssl/s3_meth.c
+++ b/
ssl/s3_meth.c
@@
-60,7
+60,7
@@
#include <openssl/objects.h>
#include "ssl_locl.h"
#include <openssl/objects.h>
#include "ssl_locl.h"
-static const SSL_METHOD *ssl3_get_method(int ver);
+#ifndef OPENSSL_NO_SSL3_METHOD
static const SSL_METHOD *ssl3_get_method(int ver)
{
if (ver == SSL3_VERSION)
static const SSL_METHOD *ssl3_get_method(int ver)
{
if (ver == SSL3_VERSION)
@@
-73,5
+73,4
@@
IMPLEMENT_ssl3_meth_func(SSLv3_method,
ssl3_accept,
ssl3_connect,
ssl3_get_method)
ssl3_accept,
ssl3_connect,
ssl3_get_method)
-
-
+#endif