diff options
Diffstat (limited to 'libssh')
-rw-r--r-- | libssh/keys.c | 2 | ||||
-rw-r--r-- | libssh/server.c | 2 | ||||
-rw-r--r-- | libssh/session.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/libssh/keys.c b/libssh/keys.c index 353d4cdb..626acc97 100644 --- a/libssh/keys.c +++ b/libssh/keys.c @@ -1151,7 +1151,7 @@ ssh_string ssh_do_sign_with_agent(ssh_session session, /* * This function concats in a buffer the values needed to do a signature * verification. */ -ssh_buffer ssh_userauth_build_digest(SSH_SESSION *session, struct ssh_message *msg, char *service) { +ssh_buffer ssh_userauth_build_digest(SSH_SESSION *session, ssh_message msg, char *service) { /* The value of 'signature' is a signature by the corresponding private key over the following data, in the following order: diff --git a/libssh/server.c b/libssh/server.c index 4f7f73b1..43b1d31b 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -829,7 +829,7 @@ char *ssh_message_channel_request_subsystem(SSH_MESSAGE *msg){ * must take care of the response). */ void ssh_set_message_callback(SSH_SESSION *session, - int(*ssh_message_callback)(ssh_session session, struct ssh_message *msg)){ + int(*ssh_message_callback)(ssh_session session, ssh_message msg)){ session->ssh_message_callback=ssh_message_callback; } diff --git a/libssh/session.c b/libssh/session.c index e85bd5fb..38e1b114 100644 --- a/libssh/session.c +++ b/libssh/session.c @@ -26,6 +26,7 @@ #include "libssh/libssh.h" #include "libssh/priv.h" #include "libssh/server.h" +#include "libssh/callback.h" #define FIRST_CHANNEL 42 // why not ? it helps to find bugs. /** \defgroup ssh_session SSH Session |