Skip to content

Commit

Permalink
lib-ssl-iostream: The final fix to make the SSL plugin loading not fa…
Browse files Browse the repository at this point in the history
…il..
  • Loading branch information
sirainen committed Sep 19, 2016
1 parent ecc2fb3 commit db8a511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-ssl-iostream/iostream-ssl.c
Expand Up @@ -38,14 +38,14 @@ static int ssl_module_load(const char **error_r)
if (module_dir_try_load_missing(&ssl_module, MODULE_DIR, plugin_name,
&mod_set, error_r) < 0)
return -1;
module_dir_init(ssl_module);
if (!ssl_module_loaded) {
*error_r = t_strdup_printf(
"%s didn't call iostream_ssl_module_init() - SSL not initialized",
plugin_name);
module_dir_unload(&ssl_module);
return -1;
}
module_dir_init(ssl_module);

/* Destroy SSL module after (most of) the others. Especially lib-fs
backends may still want to access SSL module in their own
Expand Down

0 comments on commit db8a511

Please sign in to comment.