summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/s_client.c')
-rw-r--r--src/usr.bin/openssl/s_client.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/s_client.c b/src/usr.bin/openssl/s_client.c
index 21bb632810..e5a6b006b4 100644
--- a/src/usr.bin/openssl/s_client.c
+++ b/src/usr.bin/openssl/s_client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_client.c,v 1.61 2023/07/03 06:22:07 beck Exp $ */ 1/* $OpenBSD: s_client.c,v 1.62 2023/07/03 08:03:56 beck 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 *
@@ -624,6 +624,14 @@ static const struct option s_client_options[] = {
624 .value = SSL_OP_NO_TICKET, 624 .value = SSL_OP_NO_TICKET,
625 }, 625 },
626 { 626 {
627 .name = "no_tls1",
628 .type = OPTION_DISCARD,
629 },
630 {
631 .name = "no_tls1_1",
632 .type = OPTION_DISCARD,
633 },
634 {
627 .name = "no_tls1_2", 635 .name = "no_tls1_2",
628 .desc = "Disable the use of TLSv1.2", 636 .desc = "Disable the use of TLSv1.2",
629 .type = OPTION_VALUE_OR, 637 .type = OPTION_VALUE_OR,