Add an explicit message about lack of support for PASSWD_CHANGEREQ in a
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 6 Jan 2005 17:05:54 +0000 (17:05 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 6 Jan 2005 17:05:54 +0000 (17:05 +0000)
half-hearted attempt to flush out any uses of it.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5070 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 63ea66a..3af4f61 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -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));