Mercurial > dovecot > core-2.2
changeset 20798:2260cbf542c2
lib-ssl-iostream: The final fix to make the SSL plugin loading not fail..
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Mon, 19 Sep 2016 11:08:08 +0300 |
parents | 7b35ea3a3416 |
children | a46ba877e377 |
files | src/lib-ssl-iostream/iostream-ssl.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-ssl-iostream/iostream-ssl.c Sun Sep 18 16:33:07 2016 +0300 +++ b/src/lib-ssl-iostream/iostream-ssl.c Mon Sep 19 11:08:08 2016 +0300 @@ -38,6 +38,7 @@ 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", @@ -45,7 +46,6 @@ 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