From 10e09fb5580b3016fcc4730c0a1562f484667988 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 19 Jan 2005 17:41:21 +0000 Subject: [PATCH] While we're here, pad USERAUTH_INFO_RESPONSEs to 256 bytes too. git-svn-id: svn://svn.tartarus.org/sgt/putty@5145 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssh.c b/ssh.c index bf223bcd..4a09a645 100644 --- a/ssh.c +++ b/ssh.c @@ -6791,6 +6791,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, } else if (s->method == AUTH_KEYBOARD_INTERACTIVE) { if (s->curr_prompt == 0) { s->pktout = ssh2_pkt_init(SSH2_MSG_USERAUTH_INFO_RESPONSE); + s->pktout->forcepad = 256; ssh2_pkt_adduint32(s->pktout, s->num_prompts); } if (s->need_pw) { /* only add pw if we just got one! */ -- 2.11.0