From 5a01792340999d37435f5000a3f6b8e0f2d11815 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 7 Nov 2014 12:54:17 +0200 Subject: Added the full elimination of sabayon-version --- .../files/openssl-1.0.1e-rdrand-explicit.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev-libs/openssl/files/openssl-1.0.1e-rdrand-explicit.patch (limited to 'dev-libs/openssl/files/openssl-1.0.1e-rdrand-explicit.patch') diff --git a/dev-libs/openssl/files/openssl-1.0.1e-rdrand-explicit.patch b/dev-libs/openssl/files/openssl-1.0.1e-rdrand-explicit.patch new file mode 100644 index 00000000..8c414a42 --- /dev/null +++ b/dev-libs/openssl/files/openssl-1.0.1e-rdrand-explicit.patch @@ -0,0 +1,28 @@ +https://chromium-review.googlesource.com/181001 + +From 8a1956f3eac8b164f8c741ff1a259008bab3bac1 Mon Sep 17 00:00:00 2001 +From: "Dr. Stephen Henson" +Date: Wed, 11 Dec 2013 14:45:12 +0000 +Subject: [PATCH] Don't use rdrand engine as default unless explicitly + requested. (cherry picked from commit + 16898401bd47a153fbf799127ff57fdcfcbd324f) + +--- + crypto/engine/eng_rdrand.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/crypto/engine/eng_rdrand.c b/crypto/engine/eng_rdrand.c +index a9ba5ae..4e9e91d 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; +-- +1.8.4.3 + -- cgit v1.2.3