summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-07-14 08:37:18 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-07-14 08:37:18 +0000
commit3606cfb048a9512bcdc90e3bbff3c3674fdf1e62 (patch)
tree2c5512220964180e1a63ededcd0598670a3bf0fb
parent3556b88eac47ec01cbba9a44191cfb166b9ba719 (diff)
Suppress output of the deprecated -tls1 option in usage() and help
output. The option wasn't documented in the manpage. pointed out by jsing
-rw-r--r--usr.bin/openssl/ciphers.c5
1 files 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 <jsing@openbsd.org>
*
@@ -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);
}