Fix egd and devrandom source configs
[oweals/openssl.git] / Configure
index 2e9efaa5f3da8f2ff1bde4c58e4f3b43d9596cdb..29f8b4dd4b1c52396044d3a4e31621425528f090 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1049,6 +1049,9 @@ if (scalar(@seed_sources) == 0) {
     print "Using os-specific seed configuration\n";
     push @seed_sources, 'os';
 }
+if (scalar(grep { $_ eq 'egd' } @seed_sources) > 0) {
+    delete $disabled{'egd'};
+}
 if (scalar(grep { $_ eq 'none' } @seed_sources) > 0) {
     die "Cannot seed with none and anything else" if scalar(@seed_sources) > 1;
     warn <<_____ if scalar(@seed_sources) == 1;