projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a875619
)
While we're here, pad USERAUTH_INFO_RESPONSEs to 256 bytes too.
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 19 Jan 2005 17:41:21 +0000
(17:41 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 19 Jan 2005 17:41:21 +0000
(17:41 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@5145
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
bf223bc
..
4a09a64
100644
(file)
--- 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! */