~vcs-imports/putty/master

Viewing all changes in revision 5381.

  • Committer: Simon Tatham
  • Date: 2019-03-24 14:13:37 UTC
  • Revision ID: git-v1:d159a6efac61814d9bde27a1ca34f3e0dbe1b823
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: