aboutsummaryrefslogtreecommitdiff
path: root/src/kex.c
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 10:28:06 +0100
commit40d81bb7cafe528639cb201e893ba62db1e813bf (patch)
tree2419ee1e6efb814699f732003de16988ef3cd3c7 /src/kex.c
parent10bc5ac203a428699508293f91faa460358ca6dc (diff)
downloadlibssh-40d81bb7cafe528639cb201e893ba62db1e813bf.tar.gz
libssh-40d81bb7cafe528639cb201e893ba62db1e813bf.tar.xz
libssh-40d81bb7cafe528639cb201e893ba62db1e813bf.zip
kex: enable more ECDSA hostkey algos
Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/kex.c')
-rw-r--r--src/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kex.c b/src/kex.c
index e1e3697c..4eb45d22 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 ""