aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Simons <jon@jonsimons.org>2014-02-15 15:48:54 -0800
committerAndreas Schneider <asn@cryptomilk.org>2014-03-27 11:14:25 +0100
commit7f18ec46206b41c1f19a133e78387afd33cd6596 (patch)
tree64e7e587e0bdfffdc11210603e9827b5bd989c01
parent8e698382dbe7d2d3332163314a81f91438ac86a4 (diff)
downloadlibssh-7f18ec46206b41c1f19a133e78387afd33cd6596.tar.gz
libssh-7f18ec46206b41c1f19a133e78387afd33cd6596.tar.xz
libssh-7f18ec46206b41c1f19a133e78387afd33cd6596.zip
kex: enable more ECDSA hostkey algos
Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 40d81bb7cafe528639cb201e893ba62db1e813bf)
-rw-r--r--src/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kex.c b/src/kex.c
index f19beb81..563c6a57 100644
--- a/src/kex.c
+++ b/src/kex.c
@@ -73,7 +73,7 @@
#ifdef HAVE_ECDH
#define ECDH "ecdh-sha2-nistp256,"
-#define HOSTKEYS "ecdsa-sha2-nistp256,ssh-rsa,ssh-dss"
+#define HOSTKEYS "ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss"
#else
#define HOSTKEYS "ssh-rsa,ssh-dss"
#define ECDH ""