make use of the crypto_tester in the crypto_factory
libstrongswan.crypto.test.on_add to test algorithms during initialization libstrongswan.crypto.test.on_create to test algorithms on each instantiation
This commit is contained in:
@@ -113,11 +113,11 @@ void library_init(char *settings)
|
||||
pfh->add_handler(pfh, 'Y', identification_printf_hook,
|
||||
PRINTF_HOOK_ARGTYPE_POINTER, PRINTF_HOOK_ARGTYPE_END);
|
||||
|
||||
this->public.settings = settings_create(settings);
|
||||
this->public.crypto = crypto_factory_create();
|
||||
this->public.creds = credential_factory_create();
|
||||
this->public.fetcher = fetcher_manager_create();
|
||||
this->public.db = database_factory_create();
|
||||
this->public.settings = settings_create(settings);
|
||||
this->public.plugins = plugin_loader_create();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user