projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extra diagnostics in the hope that we can track down the problem with
[u/mdw/putty]
/
sshdh.c
diff --git
a/sshdh.c
b/sshdh.c
index
0beac6c
..
845a72b
100644
(file)
--- a/
sshdh.c
+++ b/
sshdh.c
@@
-102,7
+102,7
@@
Bignum dh_create_e(int nbits) {
* with qmask.
*/
if (x) freebn(x);
- if (nbits == 0 || nbits >
ssh1_
bignum_bitcount(qmask)) {
+ if (nbits == 0 || nbits > bignum_bitcount(qmask)) {
ssh1_write_bignum(buf, qmask);
for (i = 2; i < nbytes; i++)
buf[i] &= random_byte();