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:04:04 +0000 (08:04 +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)

(cherry picked from commit 15a1bd0ab2950671686cea51f4218c8f3d92fad9)

Configure

index 6eb503c2a51917eb7db9c5c6dd8142453b869c41..d6449636f33ae390bf75463529529de76a394a12 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -497,7 +497,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" ],
     "comp"             => [ "zlib" ],
     sub { !$disabled{"unit-test"} } => [ "heartbeats" ],