summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s23_srvr.c
diff options
context:
space:
mode:
authortedu <>2014-04-17 23:35:40 +0000
committertedu <>2014-04-17 23:35:40 +0000
commit288a9e368d9d4a72792b12a00ad69e3592d94073 (patch)
treeef2f2b69483c17a9b88284fba5c8f09ea14b3362 /src/lib/libssl/s23_srvr.c
parent934b5ddbd810d7a899481637c58455698974e7e8 (diff)
downloadopenbsd-288a9e368d9d4a72792b12a00ad69e3592d94073.tar.gz
openbsd-288a9e368d9d4a72792b12a00ad69e3592d94073.tar.bz2
openbsd-288a9e368d9d4a72792b12a00ad69e3592d94073.zip
whack a bunch of disabled code. ok beck lteo
Diffstat (limited to 'src/lib/libssl/s23_srvr.c')
-rw-r--r--src/lib/libssl/s23_srvr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/libssl/s23_srvr.c b/src/lib/libssl/s23_srvr.c
index 8010d72fa7..c63ede8680 100644
--- a/src/lib/libssl/s23_srvr.c
+++ b/src/lib/libssl/s23_srvr.c
@@ -324,12 +324,7 @@ ssl23_get_client_hello(SSL *s)
324 * so we simply assume TLS 1.0 to avoid protocol version downgrade 324 * so we simply assume TLS 1.0 to avoid protocol version downgrade
325 * attacks. */ 325 * attacks. */
326 if (p[3] == 0 && p[4] < 6) { 326 if (p[3] == 0 && p[4] < 6) {
327#if 0
328 SSLerr(SSL_F_SSL23_GET_CLIENT_HELLO, SSL_R_RECORD_TOO_SMALL);
329 goto err;
330#else
331 v[1] = TLS1_VERSION_MINOR; 327 v[1] = TLS1_VERSION_MINOR;
332#endif
333 } 328 }
334 /* if major version number > 3 set minor to a value 329 /* if major version number > 3 set minor to a value
335 * which will use the highest version 3 we support. 330 * which will use the highest version 3 we support.