aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/sha1-tprf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/sha1-tprf.c')
-rw-r--r--src/crypto/sha1-tprf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/sha1-tprf.c b/src/crypto/sha1-tprf.c
index a52949462f77b..562510f8937d0 100644
--- a/src/crypto/sha1-tprf.c
+++ b/src/crypto/sha1-tprf.c
@@ -66,5 +66,7 @@ int sha1_t_prf(const u8 *key, size_t key_len, const char *label,
len[0] = SHA1_MAC_LEN;
}
+ os_memset(hash, 0, SHA1_MAC_LEN);
+
return 0;
}