X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=ssharcf.c;h=06f235c5be069ab7d70aaedc1be7f4d910088ed4;hb=068b67d2f6e9b186b3107ebcb1e88a141b7b5ebc;hp=6bfbd8959531ee63a5524b22542454aba0d8a8e0;hpb=42801b7e9ee410379563b46fde0656596f807451;p=PuTTY.git 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); }