test: Remove FastRandomContext global

Drop g_insecure_rand_ctx
This commit is contained in:
Ryan Ofsky
2024-08-14 09:39:31 -04:00
committed by MarcoFalke
parent fa0fe08eca
commit 948238a683
5 changed files with 5 additions and 40 deletions

View File

@@ -107,7 +107,6 @@ void initialize()
// - GetStrongRandBytes(), which is used for the creation of private key material.
// - Creating a BasicTestingSetup or derived class will switch to a random seed.
SeedRandomStateForTest(SeedRand::ZEROS);
g_insecure_rand_ctx.Reseed(GetRandHash());
// Terminate immediately if a fuzzing harness ever tries to create a socket.
// Individual tests can override this by pointing CreateSock to a mocked alternative.