aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-12 10:02:57 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-12 10:02:57 +0000
commita8d64a7a84ace27e2a92cf571ee11a138ab37a0e (patch)
tree77bdd43c28dd45cdf0095a6db8cc4eee5c8b1b40 /src/main.c
parent087fa7f20b75990b3a6d4ecf065845bf1d25c509 (diff)
implemented SSL certificate dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1415 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 b6c54ec8..54f2c318 100644
--- a/src/main.c
+++ b/src/main.c
@@ -86,6 +86,7 @@
#endif
#if USE_SSL
# include "ssl.h"
+# include "sslmanager.h"
#endif
#ifdef G_OS_WIN32
@@ -208,6 +209,9 @@ int main(int argc, char *argv[])
set_ui_update_func(gtkut_events_flush);
set_progress_func(main_window_progress_show);
set_input_query_password_func(input_dialog_query_password);
+#if USE_SSL
+ ssl_set_verify_func(ssl_manager_verify_cert);
+#endif
CHDIR_EXIT_IF_FAIL(get_home_dir(), 1);