diff options
author | doug <> | 2015-08-27 06:21:15 +0000 |
---|---|---|
committer | doug <> | 2015-08-27 06:21:15 +0000 |
commit | 86bf43c0754f7de02e216a110bff784aace5fea7 (patch) | |
tree | edcaf86fcb7a4c7c49e4f2bbefde1665cfd57458 /src/lib/libssl/s3_srvr.c | |
parent | 9b2397328086b49e1f5d15b4248c6aa164c42a4d (diff) | |
download | openbsd-86bf43c0754f7de02e216a110bff784aace5fea7.tar.gz openbsd-86bf43c0754f7de02e216a110bff784aace5fea7.tar.bz2 openbsd-86bf43c0754f7de02e216a110bff784aace5fea7.zip |
Remove SSLv3 support from LibreSSL.
This is the first wave of SSLv3 removal which removes the main SSLv3
functions. Future commits will remove the rest of the SSLv3 support.
Discussed the plan at c2k15. Input from jsing@, beck@, miod@, bcook@,
sthen@, naddy@, and deraadt@.
ok jsing@, beck@
Diffstat (limited to 'src/lib/libssl/s3_srvr.c')
-rw-r--r-- | src/lib/libssl/s3_srvr.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c index 7d2ec4d132..5574884b89 100644 --- a/src/lib/libssl/s3_srvr.c +++ b/src/lib/libssl/s3_srvr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s3_srvr.c,v 1.112 2015/07/29 19:16:09 miod Exp $ */ | 1 | /* $OpenBSD: s3_srvr.c,v 1.113 2015/08/27 06:21:15 doug Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -166,12 +166,6 @@ | |||
166 | 166 | ||
167 | #include "bytestring.h" | 167 | #include "bytestring.h" |
168 | 168 | ||
169 | #ifdef __OpenBSD__ | ||
170 | #include <sys/cdefs.h> | ||
171 | __warn_references(SSLv3_server_method, | ||
172 | "SSLv3_server_method() enables the use of insecure protocols"); | ||
173 | #endif | ||
174 | |||
175 | static const SSL_METHOD *ssl3_get_server_method(int ver); | 169 | static const SSL_METHOD *ssl3_get_server_method(int ver); |
176 | 170 | ||
177 | const SSL_METHOD SSLv3_server_method_data = { | 171 | const SSL_METHOD SSLv3_server_method_data = { |
@@ -206,17 +200,9 @@ const SSL_METHOD SSLv3_server_method_data = { | |||
206 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, | 200 | .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, |
207 | }; | 201 | }; |
208 | 202 | ||
209 | const SSL_METHOD * | ||
210 | SSLv3_server_method(void) | ||
211 | { | ||
212 | return &SSLv3_server_method_data; | ||
213 | } | ||
214 | |||
215 | static const SSL_METHOD * | 203 | static const SSL_METHOD * |
216 | ssl3_get_server_method(int ver) | 204 | ssl3_get_server_method(int ver) |
217 | { | 205 | { |
218 | if (ver == SSL3_VERSION) | ||
219 | return (SSLv3_server_method()); | ||
220 | return (NULL); | 206 | return (NULL); |
221 | } | 207 | } |
222 | 208 | ||