summaryrefslogtreecommitdiff
path: root/usr.bin/nc
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-07-13 16:35:48 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-07-13 16:35:48 +0000
commit017be063f18b8676903994371040064a67e4b1e0 (patch)
tree83777339e86d002ae569b1ec2b502dfaad65f0a1 /usr.bin/nc
parentd0bbaa08d1670a014759055bfdfdf78d5b608943 (diff)
Adjust existing tls_config_set_cipher() callers for TLS cipher group
changes - map the previous configuration to the equivalent in the new groups. This will be revisited post release. Discussed with beck@
Diffstat (limited to 'usr.bin/nc')
-rw-r--r--usr.bin/nc/netcat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c
index e3f6074ab41..72c56a60d95 100644
--- a/usr.bin/nc/netcat.c
+++ b/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.159 2016/07/07 14:09:44 jsing Exp $ */
+/* $OpenBSD: netcat.c,v 1.160 2016/07/13 16:35:47 jsing Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
* Copyright (c) 2015 Bob Beck. All rights reserved.
@@ -469,7 +469,7 @@ main(int argc, char *argv[])
errx(1, "unable to set TLS key file %s", Kflag);
if (TLSopt & TLS_LEGACY) {
tls_config_set_protocols(tls_cfg, TLS_PROTOCOLS_ALL);
- tls_config_set_ciphers(tls_cfg, "legacy");
+ tls_config_set_ciphers(tls_cfg, "all");
}
if (!lflag && (TLSopt & TLS_CCERT))
errx(1, "clientcert is only valid with -l");