aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-02-15 09:23:07 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-19 18:49:07 +0100
commit1973e833f2f8987c7be494e5dff86008a8557758 (patch)
tree5575fbdd4919c3a7acc60127987820482a015126 /include/libssh
parent387d9e485546a4f7e02e89fdcd097e700cf9ca81 (diff)
downloadlibssh-1973e833f2f8987c7be494e5dff86008a8557758.tar.gz
libssh-1973e833f2f8987c7be494e5dff86008a8557758.tar.xz
libssh-1973e833f2f8987c7be494e5dff86008a8557758.zip
server: Add ecdsa hostkey support.
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 b2b856ad..2078d440 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 20c94da4..4bb0753b 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;