X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/08b5c9a264d05d28d756f2203a251e42d9add06a..4e63d9b2c5c8b25ee4fe5fa7505bfbf6d72644f1:/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); }