summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-04-11 16:08:48 +0000
committerdes <des@FreeBSD.org>2002-04-11 16:08:48 +0000
commitd48b9c1d4aa9e91a2b799479e40f548dc4f4449b (patch)
tree116514e2615a73f7c3cdf70ad85e3de65e5863df /crypto
parentbe2e00cce91304c2fdc915d3c7beae388966570b (diff)
downloadFreeBSD-src-d48b9c1d4aa9e91a2b799479e40f548dc4f4449b.zip
FreeBSD-src-d48b9c1d4aa9e91a2b799479e40f548dc4f4449b.tar.gz
Prefer DSA to RSA if both are available.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/myproposal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssh/myproposal.h b/crypto/openssh/myproposal.h
index 1caf04a..ca2c259 100644
--- a/crypto/openssh/myproposal.h
+++ b/crypto/openssh/myproposal.h
@@ -1,4 +1,5 @@
/* $OpenBSD: myproposal.h,v 1.13 2002/01/21 22:30:12 markus Exp $ */
+/* $FreeBSD$ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -24,7 +25,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#define KEX_DEFAULT_KEX "diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1"
-#define KEX_DEFAULT_PK_ALG "ssh-rsa,ssh-dss"
+#define KEX_DEFAULT_PK_ALG "ssh-dss,ssh-rsa"
#define KEX_DEFAULT_ENCRYPT \
"aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour," \
"aes192-cbc,aes256-cbc"
OpenPOWER on IntegriCloud