aboutsummaryrefslogtreecommitdiff
path: root/src/packet_cb.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/packet_cb.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/packet_cb.c')
-rw-r--r--src/packet_cb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/packet_cb.c b/src/packet_cb.c
index df284eff..f236fe57 100644
--- a/src/packet_cb.c
+++ b/src/packet_cb.c
@@ -94,6 +94,7 @@ SSH_PACKET_CALLBACK(ssh_packet_dh_reply){
}
switch(session->next_crypto->kex_type){
case SSH_KEX_DH_GROUP1_SHA1:
+ case SSH_KEX_DH_GROUP14_SHA1:
rc=ssh_client_dh_reply(session, packet);
break;
#ifdef HAVE_ECDH