1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-05 21:42:47 -05:00

Fix a couple of signedness compiler warnings, presumably due to me

using a different version of gcc from before.

[originally from svn r7627]
This commit is contained in:
Simon Tatham
2007-06-30 18:18:20 +00:00
parent fd26b64c74
commit 90e7bf4228
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}