X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/08b5c9a264d05d28d756f2203a251e42d9add06a..af455852622725944c23661496cd59e9c178595d:/sshbn.c diff --git a/sshbn.c b/sshbn.c index 484c423f..999817db 100644 --- a/sshbn.c +++ b/sshbn.c @@ -148,7 +148,7 @@ void freebn(Bignum b) /* * Burn the evidence, just in case. */ - memset(b, 0, sizeof(b[0]) * (b[0] + 1)); + smemclr(b, sizeof(b[0]) * (b[0] + 1)); sfree(b); }