diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-01-09 21:39:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-01-09 21:41:17 +0900 |
commit | 4c5eac73238a203830d43bccf22eee27d242616f (patch) | |
tree | 22fb21097da3330bab92d64b802ca1e1f1ff0673 | |
parent | 661e07c97e1cc742290d045dc5102e5fbdbae6a1 (diff) |
Renamed `init_seed` as `init_hash_salt` too
-rw-r--r-- | random.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1435,7 +1435,7 @@ static union { } hash_salt; static void -init_seed(struct MT *mt) +init_hash_salt(struct MT *mt) { int i; @@ -1476,7 +1476,7 @@ Init_RandomSeedCore(void) fill_random_seed(initial_seed, DEFAULT_SEED_CNT); init_by_array(&mt, initial_seed, DEFAULT_SEED_CNT); - init_seed(&mt); + init_hash_salt(&mt); explicit_bzero(initial_seed, DEFAULT_SEED_LEN); explicit_bzero(&mt, sizeof(mt)); |