removed one hierarchy level for crypto test options
authorMartin Willi <martin@strongswan.org>
Tue, 16 Jun 2009 07:48:45 +0000 (09:48 +0200)
committerMartin Willi <martin@strongswan.org>
Tue, 16 Jun 2009 07:48:45 +0000 (09:48 +0200)
src/libstrongswan/crypto/crypto_factory.c
src/libstrongswan/crypto/crypto_tester.c

index 902d131..fea8d07 100644 (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;
 }
index da7bea0..921cff6 100644 (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;
 }