1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

dh: Add support for diffie-hellman-group14-sha1.

This commit is contained in:
Dmitriy Kuznetsov
2012-09-04 16:16:15 +02:00
committed by Andreas Schneider
parent 977951e96a
commit e689375e45
7 changed files with 92 additions and 22 deletions

View File

@@ -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