summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index 55a6a6f..b0f638d 100644
--- a/random.c
+++ b/random.c
@@ -1456,7 +1456,7 @@ init_randomseed(struct MT *mt, uint32_t initial[DEFAULT_SEED_CNT])
fill_random_seed(initial);
init_by_array(mt, initial, DEFAULT_SEED_CNT);
seed = make_seed_value(initial);
- memset(initial, 0, DEFAULT_SEED_LEN);
+ explicit_bzero(initial, DEFAULT_SEED_LEN);
return seed;
}