diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-10-29 13:51:31 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-11-19 19:11:37 +0100 |
commit | 3881d8106df732fc433d30446625dfa2396da42d (patch) | |
tree | ef0762642716406b391256ae647bd1259f204b78 /ssl/s3_meth.c | |
parent | Only handle RI extension for SSLv3 (diff) | |
download | openssl-3881d8106df732fc433d30446625dfa2396da42d.tar.xz openssl-3881d8106df732fc433d30446625dfa2396da42d.zip |
New option no-ssl3-method which removes SSLv3_*method
When no-ssl3 is set only make SSLv3 disabled by default. Retain -ssl3
options for s_client/s_server/ssltest.
When no-ssl3-method is set SSLv3_*method() is removed and all -ssl3
options.
We should document this somewhere, e.g. wiki, FAQ or manual page.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl/s3_meth.c')
-rw-r--r-- | ssl/s3_meth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ssl/s3_meth.c b/ssl/s3_meth.c index cdddb17b62..4dec7033d6 100644 --- a/ssl/s3_meth.c +++ b/ssl/s3_meth.c @@ -60,7 +60,7 @@ #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) @@ -73,5 +73,4 @@ IMPLEMENT_ssl3_meth_func(SSLv3_method, ssl3_accept, ssl3_connect, ssl3_get_method) - - +#endif |