summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-07-14 08:37:17 +0000
committertb <>2022-07-14 08:37:17 +0000
commitceb8891abdaa5cf38badb6c36932932de936d454 (patch)
treeb8c64ed4c1bb613bc0907a2d2ef1505e50ebe234 /src
parent3c418ad36881212784c0f88ac3a708f026ec853e (diff)
downloadopenbsd-ceb8891abdaa5cf38badb6c36932932de936d454.tar.gz
openbsd-ceb8891abdaa5cf38badb6c36932932de936d454.tar.bz2
openbsd-ceb8891abdaa5cf38badb6c36932932de936d454.zip
Suppress output of the deprecated -tls1 option in usage() and help
output. The option wasn't documented in the manpage. pointed out by jsing
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/ciphers.c5
1 files changed, 2 insertions, 3 deletions
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 @@
1/* $OpenBSD: ciphers.c,v 1.12 2022/07/14 08:35:15 tb Exp $ */ 1/* $OpenBSD: ciphers.c,v 1.13 2022/07/14 08:37:17 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -49,7 +49,6 @@ static const struct option ciphers_options[] = {
49 }, 49 },
50 { 50 {
51 .name = "tls1", 51 .name = "tls1",
52 .desc = "This option is deprecated since it is the default",
53 .type = OPTION_DISCARD, 52 .type = OPTION_DISCARD,
54 }, 53 },
55 { 54 {
@@ -72,7 +71,7 @@ static const struct option ciphers_options[] = {
72static void 71static void
73ciphers_usage(void) 72ciphers_usage(void)
74{ 73{
75 fprintf(stderr, "usage: ciphers [-hsVv] [-tls1] [cipherlist]\n"); 74 fprintf(stderr, "usage: ciphers [-hsVv] [cipherlist]\n");
76 options_usage(ciphers_options); 75 options_usage(ciphers_options);
77} 76}
78 77