X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/9916cc1e8d26f1caef36fc1ee525819e6ca62f42..7d22e9b256ff8fa58b3d2e6ea74102e43f52a0c7:/sshsha.c diff --git a/sshsha.c b/sshsha.c index cbe9d78b..30113511 100644 --- a/sshsha.c +++ b/sshsha.c @@ -253,7 +253,7 @@ static void sha1_key_internal(void *handle, unsigned char *key, int len) SHA_Init(&keys[1]); SHA_Bytes(&keys[1], foo, 64); - memset(foo, 0, 64); /* burn the evidence */ + smemclr(foo, 64); /* burn the evidence */ } static void sha1_key(void *handle, unsigned char *key)