summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2018-08-28 14:30:48 +0000
committercheloha <cheloha@openbsd.org>2018-08-28 14:30:48 +0000
commit1a76ec68c624a35672193d732a2d4a26071a8518 (patch)
treeb641ba642229e546a2b90ba9eb906b9b035f6811
parentTweak messages emitted by editor_resize() so "Partition x shrunk ..." (diff)
downloadwireguard-openbsd-1a76ec68c624a35672193d732a2d4a26071a8518.tar.xz
wireguard-openbsd-1a76ec68c624a35672193d732a2d4a26071a8518.zip
Drop SSLv2, SSLv3 support.
No need to check for SSLv2/3 sessions when printing the tally mark. Also do SSLv23_client_method -> TLS_client_method. ok jsing@
-rw-r--r--usr.bin/openssl/s_time.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/openssl/s_time.c b/usr.bin/openssl/s_time.c
index 91a6855d886..793e50e4be7 100644
--- a/usr.bin/openssl/s_time.c
+++ b/usr.bin/openssl/s_time.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s_time.c,v 1.30 2018/08/28 02:14:22 cheloha Exp $ */
+/* $OpenBSD: s_time.c,v 1.31 2018/08/28 14:30:48 cheloha Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -242,7 +242,7 @@ s_time_main(int argc, char **argv)
}
}
- s_time_meth = SSLv23_client_method();
+ s_time_meth = TLS_client_method();
verify_depth = 0;
@@ -435,10 +435,6 @@ benchmark(int reuse_session)
ver = SSL_version(scon);
if (ver == TLS1_VERSION)
ver = 't';
- else if (ver == SSL3_VERSION)
- ver = '3';
- else if (ver == SSL2_VERSION)
- ver = '2';
else
ver = '*';
}