summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2016-11-06 13:16:50 +0000
committerjsing <jsing@openbsd.org>2016-11-06 13:16:50 +0000
commit67e51b945352c4291bfc5161656b05912b43ea47 (patch)
tree8343c9a79d280a100d150ca33784dc7d08904e5f
parentAdjust cipher suite strengths - move MD5 to LOW, RC4 to LOW and 3DES to (diff)
downloadwireguard-openbsd-67e51b945352c4291bfc5161656b05912b43ea47.tar.xz
wireguard-openbsd-67e51b945352c4291bfc5161656b05912b43ea47.zip
Bump ftp(1)'s cipher default from "all" to "legacy" - this really should
be "compat", but that will require further testing. ok beck@
-rw-r--r--usr.bin/ftp/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c
index 2a8db47e326..99de864a88b 100644
--- a/usr.bin/ftp/main.c
+++ b/usr.bin/ftp/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.110 2016/08/13 12:55:21 jsing Exp $ */
+/* $OpenBSD: main.c,v 1.111 2016/11/06 13:16:50 jsing Exp $ */
/* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */
/*
@@ -252,7 +252,7 @@ main(volatile int argc, char *argv[])
if (tls_config == NULL)
errx(1, "tls config failed");
tls_config_set_protocols(tls_config, TLS_PROTOCOLS_ALL);
- if (tls_config_set_ciphers(tls_config, "all") != 0)
+ if (tls_config_set_ciphers(tls_config, "legacy") != 0)
errx(1, "tls set ciphers failed: %s",
tls_config_error(tls_config));
}