diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-06-13 22:36:40 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-07-13 15:03:18 +0200 |
commit | 0d1ec1fa48db64f0ec6d85ea0b4cc7c709c7361d (patch) | |
tree | fac7715b6e393c5ca4ccc16bc6d66ba67d98305b /src | |
parent | 0356b78ede1dcedfe88fa13208cb6d6a5b43ac87 (diff) | |
download | libssh-0d1ec1fa48db64f0ec6d85ea0b4cc7c709c7361d.tar.gz libssh-0d1ec1fa48db64f0ec6d85ea0b4cc7c709c7361d.tar.xz libssh-0d1ec1fa48db64f0ec6d85ea0b4cc7c709c7361d.zip |
gssapi: Add user parameter to gssapi auth callback
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/gssapi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gssapi.c b/src/gssapi.c index 4be2a682..e2489dc6 100644 --- a/src/gssapi.c +++ b/src/gssapi.c @@ -424,7 +424,8 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_mic){ if (ssh_callbacks_exists(session->server_callbacks, auth_gssapi_mic_function)){ switch(session->server_callbacks->auth_gssapi_mic_function(session, - session->gssapi->canonic_user, session->server_callbacks->userdata)){ + session->gssapi->user, session->gssapi->canonic_user, + session->server_callbacks->userdata)){ case SSH_AUTH_SUCCESS: ssh_auth_reply_success(session, 0); break; |