diff options
Diffstat (limited to 'src/crypto/sha1-prf.c')
| -rw-r--r-- | src/crypto/sha1-prf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/sha1-prf.c b/src/crypto/sha1-prf.c index 4b2d1373067f..13851494fb92 100644 --- a/src/crypto/sha1-prf.c +++ b/src/crypto/sha1-prf.c @@ -61,7 +61,7 @@ int sha1_prf(const u8 *key, size_t key_len, const char *label, } counter++; } - os_memset(hash, 0, sizeof(hash)); + forced_memzero(hash, sizeof(hash)); return 0; } |
