summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/bind.h2
-rw-r--r--include/libssh/session.h2
2 files changed, 3 insertions, 1 deletions
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;