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