libpts: Move settings to <ns>.plugins with fallback to libimcv
[strongswan.git] / src / libpts / plugins / imv_attestation / imv_attestation_agent.c
index 957ca9b..f8026e2 100644 (file)
@@ -712,11 +712,11 @@ imv_agent_if_t *imv_attestation_agent_create(const char *name, TNC_IMVID id,
        }
 
        hash_alg = lib->settings->get_str(lib->settings,
        }
 
        hash_alg = lib->settings->get_str(lib->settings,
-                                       "libimcv.plugins.imv-attestation.hash_algorithm", "sha256");
+                               "%s.plugins.imv-attestation.hash_algorithm", "sha256", lib->ns);
        dh_group = lib->settings->get_str(lib->settings,
        dh_group = lib->settings->get_str(lib->settings,
-                                       "libimcv.plugins.imv-attestation.dh_group", "ecp256");
+                               "%s.plugins.imv-attestation.dh_group", "ecp256", lib->ns);
        cadir = lib->settings->get_str(lib->settings,
        cadir = lib->settings->get_str(lib->settings,
-                                       "libimcv.plugins.imv-attestation.cadir", NULL);
+                               "%s.plugins.imv-attestation.cadir", NULL, lib->ns);
 
        INIT(this,
                .public = {
 
        INIT(this,
                .public = {