Disable the EGD seeding meachanism when stdio is disabled
authorRichard Levitte <levitte@openssl.org>
Tue, 12 Sep 2017 05:47:05 +0000 (07:47 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 12 Sep 2017 06:03:32 +0000 (08:03 +0200)
crypto/rand/rand_egd.c makes extensive use of stdio functions.  When
they are disabled, it makes sense to disable egd as well.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4358)

Configure

index e60130502f11a6da8045cd3bb835e5f3ccabc9d3..4d74b432eb16c9863ba550c50f54cad50cb0c582 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -514,7 +514,7 @@ my @disable_cascades = (
     # no-autoalginit is only useful when building non-shared
     "autoalginit"       => [ "shared", "apps" ],
 
-    "stdio"             => [ "apps", "capieng" ],
+    "stdio"             => [ "apps", "capieng", "egd" ],
     "apps"              => [ "tests" ],
     "tests"             => [ "external-tests" ],
     "comp"              => [ "zlib" ],