aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-09-14 12:43:54 +0200
committerTobias Brunner <tobias@strongswan.org>2017-09-18 12:07:26 +0200
commitddfb5dd44a140d1016b6357d7b1ce1f754b3e3c4 (patch)
tree619505e4937ad447545cd17f34885e5357293ca5
parentd3e1beaad526eec13e256f8da309bc6d2aeba776 (diff)
downloadstrongswan-ddfb5dd44a140d1016b6357d7b1ce1f754b3e3c4.tar.bz2
strongswan-ddfb5dd44a140d1016b6357d7b1ce1f754b3e3c4.tar.xz
plugin-loader: Correctly read dlopen_use_rtld_now option
Fixes: 305c4aa82cb0 ("plugin-loader: Optionally use RTLD_NOW with dlopen()")
-rw-r--r--src/libstrongswan/plugins/plugin_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c
index 701049aad..7d0cc88ed 100644
--- a/src/libstrongswan/plugins/plugin_loader.c
+++ b/src/libstrongswan/plugins/plugin_loader.c
@@ -438,7 +438,7 @@ static plugin_entry_t *load_plugin(private_plugin_loader_t *this, char *name,
}
}
if (lib->settings->get_bool(lib->settings, "%s.dlopen_use_rtld_now",
- lib->ns, FALSE))
+ FALSE, lib->ns))
{
flag = RTLD_NOW;
}