diff options
Diffstat (limited to 'freebsd/contrib/wpa/src/crypto/sha256-prf.c')
-rw-r--r-- | freebsd/contrib/wpa/src/crypto/sha256-prf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/contrib/wpa/src/crypto/sha256-prf.c b/freebsd/contrib/wpa/src/crypto/sha256-prf.c index e2150e21..aa8d09f9 100644 --- a/freebsd/contrib/wpa/src/crypto/sha256-prf.c +++ b/freebsd/contrib/wpa/src/crypto/sha256-prf.c @@ -104,7 +104,7 @@ int sha256_prf_bits(const u8 *key, size_t key_len, const char *label, buf[pos - 1] &= mask; } - os_memset(hash, 0, sizeof(hash)); + forced_memzero(hash, sizeof(hash)); return 0; } |