This adds one more check to abort when global PRNG is used before SeedRand::ZEROS in fuzz tests. This is achieved by carving out the two remaining uses. First, g_rng_temp_path_init
, and second the random fallback for RANDOM_CTX_SEED
, which isn’t used in fuzz tests anyway.
Requested in #31521 (comment)
Can be tested by reverting fadd568931a2d21e0f80e1efaf2281f5164fa20e and observing an abort when running the utxo_total_supply
fuzz target.