projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1549e9
)
Fix another bignum formatting problem. This one hit Diffie-Hellmann
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 24 Oct 2000 21:43:39 +0000
(21:43 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 24 Oct 2000 21:43:39 +0000
(21:43 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@761
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
524a750
..
7c4caa5
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-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;
}