projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
At last, merge the putty-gtk2 branch back into the trunk!
[u/mdw/putty]
/
sshrsa.c
diff --git
a/sshrsa.c
b/sshrsa.c
index
2dc09d1
..
12229e6
100644
(file)
--- a/
sshrsa.c
+++ b/
sshrsa.c
@@
-961,7
+961,7
@@
void ssh_rsakex_encrypt(const struct ssh_hash *h, unsigned char *in, int inlen,
*/
b1 = bignum_from_bytes(out, outlen);
b2 = modpow(b1, rsa->exponent, rsa->modulus);
- p = out;
+ p =
(char *)
out;
for (i = outlen; i--;) {
*p++ = bignum_byte(b2, i);
}