diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-12-11 14:45:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-12-13 15:39:55 +0000 |
commit | 8a1956f3eac8b164f8c741ff1a259008bab3bac1 (patch) | |
tree | 827a2325efa48ce7b16ffb3b5ff5bafba3e194e2 /crypto/engine | |
parent | e3bc1f495522aac84dc7ebdd7da2dc503110394b (diff) | |
download | openssl-8a1956f3eac8b164f8c741ff1a259008bab3bac1.tar.gz |
Don't use rdrand engine as default unless explicitly requested.
(cherry picked from commit 16898401bd47a153fbf799127ff57fdcfcbd324f)
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_rdrand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/engine/eng_rdrand.c b/crypto/engine/eng_rdrand.c index a9ba5ae6f9..4e9e91d54b 100644 --- a/crypto/engine/eng_rdrand.c +++ b/crypto/engine/eng_rdrand.c @@ -104,6 +104,7 @@ static int bind_helper(ENGINE *e) { if (!ENGINE_set_id(e, engine_e_rdrand_id) || !ENGINE_set_name(e, engine_e_rdrand_name) || + !ENGINE_set_flags(e, ENGINE_FLAGS_NO_REGISTER_ALL) || !ENGINE_set_init_function(e, rdrand_init) || !ENGINE_set_RAND(e, &rdrand_meth) ) return 0; |