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-22 16:08:01 +0000 |
commit | 1c2c5e402a757a63d690bd2390bd6b8b491ef184 (patch) | |
tree | 1f5a9b0668fac756d92b79f68587ba70775d9253 /crypto | |
parent | 34628967f1e65dc8f34e000f0f5518e21afbfc7b (diff) |
Don't use rdrand engine as default unless explicitly requested.
(cherry picked from commit 8f68678989a198ead3ab59a698302ecb0f1c8fb1)
Diffstat (limited to 'crypto')
-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; |