From: Tobias Brunner Date: Thu, 14 Sep 2017 10:43:54 +0000 (+0200) Subject: plugin-loader: Correctly read dlopen_use_rtld_now option X-Git-Tag: 5.6.1dr3~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ddfb5dd44a140d1016b6357d7b1ce1f754b3e3c4;p=thirdparty%2Fstrongswan.git plugin-loader: Correctly read dlopen_use_rtld_now option Fixes: 305c4aa82cb0 ("plugin-loader: Optionally use RTLD_NOW with dlopen()") --- diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c index 701049aade..7d0cc88ed8 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; }