diff options
Diffstat (limited to 'include/libssh/session.h')
-rw-r--r-- | include/libssh/session.h | 6 |
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 */ |