aboutsummaryrefslogtreecommitdiff
path: root/libssh/auth.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-11-23 21:39:52 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-11-23 21:39:52 +0000
commitf880011d727e598561fe64a805a2fb22a39ffcee (patch)
tree2a8a9190fe12f347edce4e082349d410d1913997 /libssh/auth.c
parent14c66c9bc504d837dc6a134bfd0628e5c98d210b (diff)
downloadlibssh-f880011d727e598561fe64a805a2fb22a39ffcee.tar.gz
libssh-f880011d727e598561fe64a805a2fb22a39ffcee.tar.xz
libssh-f880011d727e598561fe64a805a2fb22a39ffcee.zip
commited path 003 and 004 from Andreas Schneider
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@190 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/auth.c')
-rw-r--r--libssh/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/auth.c b/libssh/auth.c
index 57d0bd61..24d3cd72 100644
--- a/libssh/auth.c
+++ b/libssh/auth.c
@@ -587,7 +587,7 @@ static int kbdauth_info_get(SSH_SESSION *session){
STRING *instruction;
STRING *tmp;
u32 nprompts;
- int i;
+ u32 i;
enter_function();
name=buffer_get_ssh_string(session->in_buffer);
instruction=buffer_get_ssh_string(session->in_buffer);
@@ -642,7 +642,7 @@ static int kbdauth_info_get(SSH_SESSION *session){
/* sends challenge back to the server */
static int kbdauth_send(SSH_SESSION *session) {
STRING *answer;
- int i;
+ u32 i;
int err;
enter_function();
buffer_add_u8(session->out_buffer,SSH2_MSG_USERAUTH_INFO_RESPONSE);