1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00

Fix another bignum formatting problem. This one hit Diffie-Hellmann

[originally from svn r761]
This commit is contained in:
Simon Tatham 2000-10-24 21:43:39 +00:00
parent fc9b38ed01
commit 809bd81d5c

1
ssh.c
View File

@ -849,6 +849,7 @@ static Bignum ssh2_pkt_getmp(void) {
else
b[j/2+1] |= ((unsigned char)p[i]);
}
while (b[0] > 1 && b[b[0]] == 0) b[0]--;
return b;
}