X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/208a0f09f8b18915b46d6ad39fc7c2c8f62fb930..dfb88efd1c9503370bee8e677bbefad6ef41df85:/ssharcf.c diff --git a/ssharcf.c b/ssharcf.c index 6bfbd895..06f235c5 100644 --- a/ssharcf.c +++ b/ssharcf.c @@ -75,7 +75,7 @@ static void arcfour_stir(ArcfourContext *ctx) unsigned char *junk = snewn(1536, unsigned char); memset(junk, 0, 1536); arcfour_block(ctx, junk, 1536); - memset(junk, 0, 1536); + smemclr(junk, 1536); sfree(junk); }