X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/62ddb51e0424dd4bd1098b024f2427959aefc729..3ee4eedaec9cad4b5b2ff0f40567fa2e57a942a9:/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); }