From 3606cfb048a9512bcdc90e3bbff3c3674fdf1e62 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Thu, 14 Jul 2022 08:37:18 +0000 Subject: Suppress output of the deprecated -tls1 option in usage() and help output. The option wasn't documented in the manpage. pointed out by jsing --- usr.bin/openssl/ciphers.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.bin/openssl/ciphers.c b/usr.bin/openssl/ciphers.c index b60145c2a8e..92805c36913 100644 --- a/usr.bin/openssl/ciphers.c +++ b/usr.bin/openssl/ciphers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ciphers.c,v 1.12 2022/07/14 08:35:15 tb Exp $ */ +/* $OpenBSD: ciphers.c,v 1.13 2022/07/14 08:37:17 tb Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -49,7 +49,6 @@ static const struct option ciphers_options[] = { }, { .name = "tls1", - .desc = "This option is deprecated since it is the default", .type = OPTION_DISCARD, }, { @@ -72,7 +71,7 @@ static const struct option ciphers_options[] = { static void ciphers_usage(void) { - fprintf(stderr, "usage: ciphers [-hsVv] [-tls1] [cipherlist]\n"); + fprintf(stderr, "usage: ciphers [-hsVv] [cipherlist]\n"); options_usage(ciphers_options); } -- cgit v1.2.3