summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-22 14:29:39 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-22 14:29:39 +0200
commit4de452055952b89aa093f7b43d3a5e40c5f7bc68 (patch)
tree305a8c1a6f624fa3dede0b61296c40d18a59d434 /include
parent245a354187d6f743c511a2e64b2b5643f9b90e66 (diff)
downloadlibssh-4de452055952b89aa093f7b43d3a5e40c5f7bc68.tar.gz
libssh-4de452055952b89aa093f7b43d3a5e40c5f7bc68.tar.xz
libssh-4de452055952b89aa093f7b43d3a5e40c5f7bc68.zip
server: Use new pki infrastructure.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/session.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h
index 3b79f42..123050e 100644
--- a/include/libssh/session.h
+++ b/include/libssh/session.h
@@ -129,8 +129,10 @@ struct ssh_session_struct {
struct ssh_kbdint_struct *kbdint;
int version; /* 1 or 2 */
/* server host keys */
- ssh_private_key rsa_key;
- ssh_private_key dsa_key;
+ struct {
+ ssh_key rsa_key;
+ ssh_key dsa_key;
+ } srv;
/* auths accepted by server */
int auth_methods;
int hostkeys; /* contains type of host key wanted by client, in server impl */