summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-08-06 19:59:55 +0200
committerDr. Stephen Henson <steve@openssl.org>2017-08-06 20:24:32 +0200
commitc57c32a8b1e381a5f272e64db349ebadc1ce4ff5 (patch)
treee063f1194d265178a57e8f5fe1b11ca0d268b16a /crypto
parentUse passed drbg, not global one (diff)
downloadopenssl-c57c32a8b1e381a5f272e64db349ebadc1ce4ff5.tar.xz
openssl-c57c32a8b1e381a5f272e64db349ebadc1ce4ff5.zip
Add predicatable RAND_METHOD to test ENGINE
The test ENGINE effectively used a predictable PRNG because it supplied a bogus implementation of SHA256 which the old version of OpenSSL's PRNG used. The new DRBG does not use SHA256 so it is no longer predictable if the SHA256 implementation is replaced. Use an explicit predictable PRNG instead. Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/4098)
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions