diff options
author | Tilo Eckert <tilo.eckert@flam.de> | 2015-06-15 13:12:23 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-06-29 11:06:20 +0200 |
commit | cc25d747d45f139729f1728cc5dcbd1666709a4f (patch) | |
tree | 714575691f71e07037aea402123687abd7248b6a | |
parent | 763735106564a3bff1ba9a3fece0dca58eec403f (diff) | |
download | libssh-cc25d747d45f139729f1728cc5dcbd1666709a4f.tar.gz libssh-cc25d747d45f139729f1728cc5dcbd1666709a4f.tar.xz libssh-cc25d747d45f139729f1728cc5dcbd1666709a4f.zip |
available auth_methods must be reset on partial authentication
Signed-off-by: Tilo Eckert <tilo.eckert@flam.de>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | src/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -209,8 +209,8 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_failure){ "Access denied. Authentication that can continue: %s", auth_methods); - session->auth_methods = 0; } + session->auth_methods = 0; if (strstr(auth_methods, "password") != NULL) { session->auth_methods |= SSH_AUTH_METHOD_PASSWORD; } |