1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2026-01-06 14:21:55 +03:00

server: Migrate hostkey check to new pki.

This commit is contained in:
Andreas Schneider
2011-08-22 15:22:58 +02:00
parent 9c376dd913
commit 90167f09d3
3 changed files with 11 additions and 8 deletions

View File

@@ -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;