From c02b260e7ef8548d61d6491d76d0150da66c19c7 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 3 Sep 2014 09:32:32 +0200 Subject: server: Add support for ed25519 keys in the server. Signed-off-by: Aris Adamantiadis Reviewed-by: Andreas Schneider --- include/libssh/bind.h | 2 ++ include/libssh/session.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include/libssh') diff --git a/include/libssh/bind.h b/include/libssh/bind.h index ced1c494..edbc7b77 100644 --- a/include/libssh/bind.h +++ b/include/libssh/bind.h @@ -36,9 +36,11 @@ struct ssh_bind_struct { char *ecdsakey; char *dsakey; char *rsakey; + char *ed25519key; ssh_key ecdsa; ssh_key dsa; ssh_key rsa; + ssh_key ed25519; char *bindaddr; socket_t bindfd; unsigned int bindport; diff --git a/include/libssh/session.h b/include/libssh/session.h index 29bdd60b..60d78578 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -156,7 +156,7 @@ struct ssh_session_struct { ssh_key rsa_key; ssh_key dsa_key; ssh_key ecdsa_key; - + ssh_key ed25519_key; /* The type of host key wanted by client */ enum ssh_keytypes_e hostkey; } srv; -- cgit