mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
dh: Add support for diffie-hellman-group14-sha1.
This commit is contained in:
committed by
Andreas Schneider
parent
977951e96a
commit
e689375e45
@@ -194,6 +194,7 @@ static int dh_handshake(ssh_session session) {
|
||||
case DH_STATE_INIT:
|
||||
switch(session->next_crypto->kex_type){
|
||||
case SSH_KEX_DH_GROUP1_SHA1:
|
||||
case SSH_KEX_DH_GROUP14_SHA1:
|
||||
rc = ssh_client_dh_init(session);
|
||||
break;
|
||||
#ifdef HAVE_ECDH
|
||||
|
||||
Reference in New Issue
Block a user