From 529658b69d635a230df11f8a8a30f0c9d8fe14bd Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 11 Dec 2024 12:18:05 +0000 Subject: ciphers: remove tls1 and tls1_1 leftovers The options were already removed from the manual in 91e7614a. From Renaud Allard (hand-applied since patch was mangled) --- src/usr.bin/openssl/ciphers.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/usr.bin/openssl/ciphers.c b/src/usr.bin/openssl/ciphers.c index 247929bb9e..3478df910e 100644 --- a/src/usr.bin/openssl/ciphers.c +++ b/src/usr.bin/openssl/ciphers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ciphers.c,v 1.18 2023/03/06 14:32:05 tb Exp $ */ +/* $OpenBSD: ciphers.c,v 1.19 2024/12/11 12:18:05 tb Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -48,20 +48,6 @@ static const struct option ciphers_options[] = { .type = OPTION_FLAG, .opt.flag = &cfg.use_supported, }, - { - .name = "tls1", - .desc = "Use TLS protocol version 1", - .type = OPTION_VALUE, - .opt.value = &cfg.version, - .value = TLS1_VERSION, - }, - { - .name = "tls1_1", - .desc = "Use TLS protocol version 1.1", - .type = OPTION_VALUE, - .opt.value = &cfg.version, - .value = TLS1_1_VERSION, - }, { .name = "tls1_2", .desc = "Use TLS protocol version 1.2", @@ -96,7 +82,7 @@ static const struct option ciphers_options[] = { static void ciphers_usage(void) { - fprintf(stderr, "usage: ciphers [-hsVv] [-tls1] [-tls1_1] [-tls1_2] " + fprintf(stderr, "usage: ciphers [-hsVv] [-tls1_2] " "[-tls1_3] [cipherlist]\n"); options_usage(ciphers_options); } -- cgit v1.2.3-55-g6feb