1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Add an explicit message about lack of support for PASSWD_CHANGEREQ in a

half-hearted attempt to flush out any uses of it.

[originally from svn r5070]
This commit is contained in:
Jacob Nevins 2005-01-06 17:05:54 +00:00
parent 2d1f699293
commit 4e550f96b2

4
ssh.c
View File

@ -6119,6 +6119,10 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
*/
if (!s->gotit)
s->curr_prompt = 0;
} else if (pktin->type == SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ) {
/* FIXME: perhaps we should support this? */
bombout(("PASSWD_CHANGEREQ not yet supported"));
crStopV;
} else if (pktin->type != SSH2_MSG_USERAUTH_FAILURE) {
bombout(("Strange packet received during authentication: type %d",
pktin->type));