removed one hierarchy level for crypto test options

This commit is contained in:
Martin Willi 2009-06-16 09:48:45 +02:00
parent 80c0710caa
commit 72e174f966
2 changed files with 4 additions and 4 deletions

View File

@ -749,9 +749,9 @@ crypto_factory_t *crypto_factory_create()
this->lock = rwlock_create(RWLOCK_DEFAULT);
this->tester = crypto_tester_create();
this->test_on_add = lib->settings->get_bool(lib->settings,
"libstrongswan.crypto.test.on_add", FALSE);
"libstrongswan.crypto_test.on_add", FALSE);
this->test_on_create = lib->settings->get_bool(lib->settings,
"libstrongswan.crypto.test.on_create", FALSE);
"libstrongswan.crypto_test.on_create", FALSE);
return &this->public;
}

View File

@ -627,9 +627,9 @@ crypto_tester_t *crypto_tester_create()
this->rng = linked_list_create();
this->required = lib->settings->get_bool(lib->settings,
"libstrongswan.crypto.test.required", FALSE);
"libstrongswan.crypto_test.required", FALSE);
this->rng_true = lib->settings->get_bool(lib->settings,
"libstrongswan.crypto.test.rng_true", FALSE);
"libstrongswan.crypto_test.rng_true", FALSE);
return &this->public;
}