aboutsummaryrefslogtreecommitdiff
path: root/src/client.c
diff options
context:
space:
mode:
authorTilo Eckert <tilo.eckert@flam.de>2018-06-25 13:01:57 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-29 15:57:11 +0200
commite60cb2ee10d052c32fc6f2169fb5a34100374c0d (patch)
tree5dc9105754d9e07593a9ec229012c742ff2097d6 /src/client.c
parentda0f36047894bb98a547269c648a9119a70c5457 (diff)
downloadlibssh-e60cb2ee10d052c32fc6f2169fb5a34100374c0d.tar.gz
libssh-e60cb2ee10d052c32fc6f2169fb5a34100374c0d.tar.xz
libssh-e60cb2ee10d052c32fc6f2169fb5a34100374c0d.zip
kex: add curve25519-sha256 as alias for curve25519-sha256@libssh.org
see: https://tools.ietf.org/id/draft-ietf-curdle-ssh-curves-07.html Signed-off-by: Tilo Eckert <tilo.eckert@flam.de> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c
index 66aad23e..f22cb055 100644
--- a/src/client.c
+++ b/src/client.c
@@ -260,6 +260,7 @@ static int dh_handshake(ssh_session session) {
break;
#endif
#ifdef HAVE_CURVE25519
+ case SSH_KEX_CURVE25519_SHA256:
case SSH_KEX_CURVE25519_SHA256_LIBSSH_ORG:
rc = ssh_client_curve25519_init(session);
break;