aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-27 07:33:20 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-07-27 07:33:20 +0000
commit2323f838dbf605f498b953bc9d75657639d131f4 (patch)
tree5d1ad37c64d46f0976abbd8fc1bcb67f525eb5d5 /src/main.c
parentef9b25bb1a22c98c33d6d1edd48f061243838e48 (diff)
Fixes accepted SSL certs not loaded when using alternative config dir.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2635 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d3a7c94f..46e7091d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -253,6 +253,7 @@ int main(int argc, char *argv[])
set_progress_func(main_window_progress_show);
set_input_query_password_func(input_dialog_query_password);
#if USE_SSL
+ ssl_init();
ssl_set_verify_func(ssl_manager_verify_cert);
#endif
@@ -817,6 +818,9 @@ void app_will_exit(gboolean force)
g_free(filename);
/* remove temporary files, close log file, socket cleanup */
+#if USE_SSL
+ ssl_done();
+#endif
syl_cleanup();
lock_socket_remove();