mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
cgtest: destroy the global PRNG after every cmdgen_main().
This prevents an assertion failure when random_ref() tries to create a new PRNG instance and finds there already is one. It also exposes bugs in which some code path forgot to initialise the PRNG when it was going to need it, such as the one fixed in the previous commit.
This commit is contained in: