diff options
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/auth.c b/libssh/auth.c index badf1519..aea7b60b 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -61,7 +61,7 @@ static int ask_userauth(ssh_session session) { do { rc=ssh_service_request(session,"ssh-userauth"); if(rc==SSH_AGAIN) - ssh_handle_packets(session); + ssh_handle_packets(session,-1); } while(rc==SSH_AGAIN); leave_function(); return rc; @@ -202,7 +202,7 @@ static int wait_auth_status(ssh_session session) { enter_function(); while (session->auth_state == SSH_AUTH_STATE_NONE) { - ssh_handle_packets(session); + ssh_handle_packets(session,-1); } switch(session->auth_state){ case SSH_AUTH_STATE_ERROR: |