diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-08-06 18:59:55 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-08-06 19:24:32 +0100 |
commit | c57c32a8b1e381a5f272e64db349ebadc1ce4ff5 (patch) | |
tree | e063f1194d265178a57e8f5fe1b11ca0d268b16a /ssl/s3_lib.c | |
parent | 69a978d35984bb27af336cffc252bdde51d36adb (diff) |
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 'ssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions