handle plugin loading failures
This commit is contained in:
1 parent
d6a45127dc
commit
8fb4edc4ff
8 files changed
+44
-21
No files matched your search
@@ -759,8 +759,11 @@ int main(int argc, char **argv)
|
||||
init_log("scepclient");
|
||||
|
||||
/* load plugins, further infrastructure may need it */
|
||||
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR,
|
||||
lib->settings->get_str(lib->settings, "scepclient.load", PLUGINS));
|
||||
if (!lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR,
|
||||
lib->settings->get_str(lib->settings, "scepclient.load", PLUGINS)))
|
||||
{
|
||||
exit_scepclient("plugin loading failed");
|
||||
}
|
||||
print_plugins();
|
||||
|
||||
if ((filetype_out == 0) && (!request_ca_certificate))
|
||||
|
||||
Reference in new issue
Block a user