removed one hierarchy level for crypto test options
This commit is contained in:
@@ -749,9 +749,9 @@ crypto_factory_t *crypto_factory_create()
|
|||||||
this->lock = rwlock_create(RWLOCK_DEFAULT);
|
this->lock = rwlock_create(RWLOCK_DEFAULT);
|
||||||
this->tester = crypto_tester_create();
|
this->tester = crypto_tester_create();
|
||||||
this->test_on_add = lib->settings->get_bool(lib->settings,
|
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,
|
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;
|
return &this->public;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -627,9 +627,9 @@ crypto_tester_t *crypto_tester_create()
|
|||||||
this->rng = linked_list_create();
|
this->rng = linked_list_create();
|
||||||
|
|
||||||
this->required = lib->settings->get_bool(lib->settings,
|
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,
|
this->rng_true = lib->settings->get_bool(lib->settings,
|
||||||
"libstrongswan.crypto.test.rng_true", FALSE);
|
"libstrongswan.crypto_test.rng_true", FALSE);
|
||||||
|
|
||||||
return &this->public;
|
return &this->public;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user