diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-03-19 21:11:50 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-03-19 22:55:11 +0000 |
commit | 59f124f90f52395c240fcd2f387a91234b0d25be (patch) | |
tree | 181eceda18fda6436dfd56e4765a971fdb7e9672 /crypto/pem/pvkfmt.c | |
parent | 8f8be103fd7d8b5992724d618c99cbddd7dd00d7 (diff) |
Fix: drbgtest fails when tests are executed in random order
[extended tests]
The test_rand_reseed assumed that the global DRBGs were not used
previously. This assumption is false when the tests are executed
in random order (OPENSSL_TEST_RAND_ORDER). So we uninstantiate
them first and add a test for the first instantiation.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5680)
Diffstat (limited to 'crypto/pem/pvkfmt.c')
0 files changed, 0 insertions, 0 deletions