From ceb8891abdaa5cf38badb6c36932932de936d454 Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 14 Jul 2022 08:37:17 +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 --- src/usr.bin/openssl/ciphers.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/usr.bin/openssl/ciphers.c b/src/usr.bin/openssl/ciphers.c index b60145c2a8..92805c3691 100644 --- a/src/usr.bin/openssl/ciphers.c +++ b/src/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-55-g6feb