summaryrefslogtreecommitdiffstats
path: root/test/conf_include_test.c
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-11-13 16:02:09 +0100
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-11-24 08:35:14 +0100
commit23f3993127c0a05651e28701d91edb478ebe6efa (patch)
tree6ee21d66ade039064e05a0078ca8c526b650d3af /test/conf_include_test.c
parent0c080f73e8fc3cf7e73a42b15011d8a0a0c8aab7 (diff)
Remove RANDFILE settings from configuration files
OpenSSL 1.1.1 introduced a new CSPRNG with an improved seeding mechanism, which makes it dispensable to define a RANDFILE for saving and restoring randomness. This commit removes the RANDFILE declarations from our own configuration files and adds documentation that this option is not needed anymore and retained mainly for compatibility reasons. Fixes #10433 Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10436)
Diffstat (limited to 'test/conf_include_test.c')
-rw-r--r--test/conf_include_test.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/conf_include_test.c b/test/conf_include_test.c
index 16459c46d7..0cf8d49740 100644
--- a/test/conf_include_test.c
+++ b/test/conf_include_test.c
@@ -90,13 +90,6 @@ static int test_load_config(void)
return 0;
}
- /* verify whether RANDFILE is set correctly */
- str = NCONF_get_string(conf, "", "RANDFILE");
- if (!TEST_ptr(str) || !TEST_str_eq(str, "./.rnd")) {
- TEST_note("RANDFILE incorrect");
- return 0;
- }
-
/* verify whether CA_default/default_days is set */
val = 0;
if (!TEST_int_eq(NCONF_get_number(conf, "CA_default", "default_days", &val), 1)