aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-22 15:22:58 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-22 15:22:58 +0200
commit90167f09d3c797422a3701be8c576c92de520d8c (patch)
tree369ac420a468080d7e5754579d9787b7fa3b7faf /include
parent9c376dd913b40bbcf9e0fc528f53e02c104b6c58 (diff)
downloadlibssh-90167f09d3c797422a3701be8c576c92de520d8c.tar.gz
libssh-90167f09d3c797422a3701be8c576c92de520d8c.tar.xz
libssh-90167f09d3c797422a3701be8c576c92de520d8c.zip
server: Migrate hostkey check to new pki.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/session.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h
index 123050e4..3914326b 100644
--- a/include/libssh/session.h
+++ b/include/libssh/session.h
@@ -132,10 +132,12 @@ struct ssh_session_struct {
struct {
ssh_key rsa_key;
ssh_key dsa_key;
+
+ /* The type of host key wanted by client */
+ enum ssh_keytypes_e hostkey;
} srv;
/* auths accepted by server */
int auth_methods;
- int hostkeys; /* contains type of host key wanted by client, in server impl */
struct ssh_list *ssh_message_list; /* list of delayed SSH messages */
int (*ssh_message_callback)( struct ssh_session_struct *session, ssh_message msg, void *userdata);
void *ssh_message_callback_data;