diff options
author | lloyd <[email protected]> | 2007-10-19 13:41:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-10-19 13:41:10 +0000 |
commit | 0c89766c853fd766b4dac7cc4ac22a5db8e10fe4 (patch) | |
tree | 56adbf8b5f99ac3aa3a719111cac8e8eff077aea /src/policy.cpp | |
parent | 15c4cb75243aaf70dadf5c2a8f76332f0a24a7d5 (diff) |
Don't hard code any directories to search for programs into es_unix.
All are now specified through the config. The new default is just /bin,
/sbin, /usr/bin, and /usr/sbin. Formerly /usr/ucb, /usr/etc, and /etc were
also searched. If you want this behavior again you have to explicitly set
the rng/unix_path configuration setting.
Diffstat (limited to 'src/policy.cpp')
-rw-r--r-- | src/policy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy.cpp b/src/policy.cpp index ff71d325b..e8906c4ba 100644 --- a/src/policy.cpp +++ b/src/policy.cpp @@ -228,7 +228,7 @@ void set_default_config(Config& config) config.set_option("pem/width", "64"); config.set_option("rng/ms_capi_prov_type", "INTEL_SEC:RSA_FULL"); - config.set_option("rng/unix_path", "/usr/ucb:/usr/etc:/etc"); + config.set_option("rng/unix_path", "/bin:/sbin:/usr/bin:/usr/sbin"); config.set_option("rng/es_files", "/dev/urandom:/dev/random"); config.set_option("rng/egd_path", "/var/run/egd-pool:/dev/egd-pool"); |