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.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/bind.h b/include/libssh/bind.h
index b2b856a..2078d44 100644
--- a/include/libssh/bind.h
+++ b/include/libssh/bind.h
@@ -34,8 +34,10 @@ struct ssh_bind_struct {
/* options */
char *wanted_methods[10];
char *banner;
+ char *ecdsakey;
char *dsakey;
char *rsakey;
+ ssh_key ecdsa;
ssh_key dsa;
ssh_key rsa;
char *bindaddr;
diff --git a/include/libssh/session.h b/include/libssh/session.h
index 20c94da..4bb0753 100644
--- a/include/libssh/session.h
+++ b/include/libssh/session.h
@@ -141,6 +141,7 @@ struct ssh_session_struct {
struct {
ssh_key rsa_key;
ssh_key dsa_key;
+ ssh_key ecdsa_key;
/* The type of host key wanted by client */
enum ssh_keytypes_e hostkey;