X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshrand.c;h=e739113aa800b7108063a16a4e0a594416563ee5;hb=5176e1e9bbdc6620a115da0f92ca2282a6714721;hp=b3bd08bfd2d7c95b2d4f0625f24946f52bb20233;hpb=5aab53ce521ec51eae8a4df58e4d3ef0c52cbefe;p=PuTTY.git diff --git a/sshrand.c b/sshrand.c index b3bd08bf..e739113a 100644 --- a/sshrand.c +++ b/sshrand.c @@ -52,7 +52,7 @@ void random_add_noise(void *noise, int length) { pool.incomingpos = 0; } - memcpy(pool.incomingb + pool_incomingpos, p, length); + memcpy(pool.incomingb + pool.incomingpos, p, length); pool.incomingpos += length; }