mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-12 08:43:53 -05:00
Uppity: support SSH-2 password change request.
This is the first time I've _ever_ been able to test that feature of the client userauth code personally, and pleasingly, it seems to work fine.
This commit is contained in:
@ -280,7 +280,7 @@ static void ssh1_login_server_process_queue(PacketProtocolLayer *ppl)
|
||||
if (nul)
|
||||
password.len = (const char *)nul - (const char *)password.ptr;
|
||||
|
||||
if (auth_password(s->authpolicy, s->username, password))
|
||||
if (auth_password(s->authpolicy, s->username, password, NULL))
|
||||
goto auth_success;
|
||||
} else if (pktin->type == SSH1_CMSG_AUTH_RSA) {
|
||||
s->current_method = AUTHMETHOD_PUBLICKEY;
|
||||
|
Reference in New Issue
Block a user