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:
28f7ab3
)
Fix a casting bug with the length-independent sshbn code.
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 22 Jan 2004 18:37:48 +0000
(18:37 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 22 Jan 2004 18:37:48 +0000
(18:37 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@3760
cda61777
-01e9-0310-a592-
d414129be87e
sshbn.c
patch
|
blob
|
blame
|
history
diff --git
a/sshbn.c
b/sshbn.c
index
8d4d703
..
7fe0309
100644
(file)
--- a/
sshbn.c
+++ b/
sshbn.c
@@
-133,7
+133,7
@@
static void internal_add_shifted(BignumInt *number,
int bshift = shift % BIGNUM_INT_BITS;
BignumDblInt addend;
- addend = n << bshift;
+ addend =
(BignumDblInt)
n << bshift;
while (addend) {
addend += number[word];