aboutsummaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
authorDmitriy Kuznetsov <dk@yandex.ru>2012-09-04 16:16:15 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-09-04 16:17:46 +0200
commite689375e452fc6b3e1fd31b0e9819d1600bd7704 (patch)
tree7b8e44183ce1745d33eabc991b3f1d248bf6052a /src/server.c
parent977951e96afd07705d9d88f733c7224810325da1 (diff)
downloadlibssh-e689375e452fc6b3e1fd31b0e9819d1600bd7704.tar.gz
libssh-e689375e452fc6b3e1fd31b0e9819d1600bd7704.tar.xz
libssh-e689375e452fc6b3e1fd31b0e9819d1600bd7704.zip
dh: Add support for diffie-hellman-group14-sha1.
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c
index ac3fec30..b418081b 100644
--- a/src/server.c
+++ b/src/server.c
@@ -177,6 +177,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexdh_init){
}
switch(session->next_crypto->kex_type){
case SSH_KEX_DH_GROUP1_SHA1:
+ case SSH_KEX_DH_GROUP14_SHA1:
rc=ssh_server_kexdh_init(session, packet);
break;
#ifdef HAVE_ECDH