mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-15 00:00:16 -04:00
libtnccs: Correctly read dlopen_use_rtld_now option
Fixes: 50e4aeb22f49 ("libtnccs: Optionally use RTLD_NOW to load IMC/IMVs with dlopen()")
This commit is contained in:
parent
ddfb5dd44a
commit
f871b341d7
@ -354,7 +354,7 @@ imc_t* tnc_imc_create(char *name, char *path)
|
||||
this = tnc_imc_create_empty(name);
|
||||
|
||||
if (lib->settings->get_bool(lib->settings, "%s.dlopen_use_rtld_now",
|
||||
lib->ns, FALSE))
|
||||
FALSE, lib->ns))
|
||||
{
|
||||
flag = RTLD_NOW;
|
||||
}
|
||||
|
@ -350,7 +350,7 @@ imv_t* tnc_imv_create(char *name, char *path)
|
||||
this = tnc_imv_create_empty(name);
|
||||
|
||||
if (lib->settings->get_bool(lib->settings, "%s.dlopen_use_rtld_now",
|
||||
lib->ns, FALSE))
|
||||
FALSE, lib->ns))
|
||||
{
|
||||
flag = RTLD_NOW;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user