diff options
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/libssh.h | 5 | ||||
-rw-r--r-- | include/libssh/priv.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 73ea536d..96687cee 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -77,9 +77,8 @@ typedef struct ssh_buffer_struct BUFFER; typedef struct ssh_public_key_struct PUBLIC_KEY; typedef struct ssh_private_key_struct PRIVATE_KEY; typedef struct ssh_channel_struct CHANNEL; -#endif typedef struct ssh_agent_struct AGENT; -//#endif +#endif typedef struct ssh_options_struct SSH_OPTIONS; typedef struct ssh_session SSH_SESSION; @@ -91,7 +90,7 @@ typedef struct ssh_public_key_struct* ssh_public_key; typedef struct ssh_private_key_struct* ssh_private_key; typedef struct ssh_options_struct* ssh_options; typedef struct ssh_channel_struct* ssh_channel; -typedef struct ssh_agent_struct* ssh_agentT; +typedef struct ssh_agent_struct* ssh_agent; typedef struct ssh_session* ssh_session; typedef struct ssh_kbdint* ssh_kbdint; diff --git a/include/libssh/priv.h b/include/libssh/priv.h index b951cbcd..98fde995 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -382,7 +382,7 @@ struct ssh_session { int maxchannel; int exec_channel_opened; /* version 1 only. more info in channels1.c */ - AGENT *agent; /* ssh agent */ + ssh_agent agent; /* ssh agent */ /* keyb interactive data */ struct ssh_kbdint *kbdint; |