projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
David Brinegar's workaround for an error reporting problem in some
[u/mdw/putty]
/
sshbn.c
diff --git
a/sshbn.c
b/sshbn.c
index
3a5ddc0
..
1bd3f43
100644
(file)
--- a/
sshbn.c
+++ b/
sshbn.c
@@
-68,7
+68,7
@@
void freebn(Bignum b) {
}
Bignum bn_power_2(int n) {
- Bignum ret = newbn(
(n+15)/16
);
+ Bignum ret = newbn(
n/16+1
);
bignum_set_bit(ret, n, 1);
return ret;
}