X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/208a0f09f8b18915b46d6ad39fc7c2c8f62fb930..dfb88efd1c9503370bee8e677bbefad6ef41df85:/sshrsa.c?ds=sidebyside diff --git a/sshrsa.c b/sshrsa.c index 0c1b2ef5..77a6bb25 100644 --- a/sshrsa.c +++ b/sshrsa.c @@ -110,7 +110,7 @@ static void sha512_mpint(SHA512_State * s, Bignum b) lenbuf[0] = bignum_byte(b, len); SHA512_Bytes(s, lenbuf, 1); } - memset(lenbuf, 0, sizeof(lenbuf)); + smemclr(lenbuf, sizeof(lenbuf)); } /*