projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3462896
)
Don't use rdrand engine as default unless explicitly requested.
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 11 Dec 2013 14:45:12 +0000
(14:45 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 22 Dec 2013 16:08:01 +0000
(16:08 +0000)
(cherry picked from commit
8f68678989a198ead3ab59a698302ecb0f1c8fb1
)
crypto/engine/eng_rdrand.c
patch
|
blob
|
history
diff --git
a/crypto/engine/eng_rdrand.c
b/crypto/engine/eng_rdrand.c
index a9ba5ae6f9ffd8f90ec6ca43e5d249982156025e..4e9e91d54b13a7ea0ecca53c0b8d6ef373ff7c65 100644
(file)
--- 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;