closes: #660303
* debian/patches:
- fix-libsoup detection added.
+ - force-ssl-cert-verification added, set ssl-strict to TRUE so connections
+ are not done if the ssl certificate can't be trusted.
-- Yves-Alexis Perez <corsac@debian.org> Sat, 14 Apr 2012 14:47:59 +0200
--- /dev/null
+diff --git a/midori/main.c b/midori/main.c
+index 2ec5599..af3cc71 100644
+--- a/midori/main.c
++++ b/midori/main.c
+@@ -1019,7 +1019,7 @@ midori_load_soup_session (gpointer settings)
+ #if defined (HAVE_LIBSOUP_2_37_1)
+ g_object_set (session,
+ "ssl-use-system-ca-file", TRUE,
+- "ssl-strict", FALSE,
++ "ssl-strict", TRUE,
+ NULL);
+ #elif defined (HAVE_LIBSOUP_2_29_91)
+ const gchar* certificate_files[] =
+@@ -1038,7 +1038,7 @@ midori_load_soup_session (gpointer settings)
+ {
+ g_object_set (session,
+ "ssl-ca-file", certificate_files[i],
+- "ssl-strict", FALSE,
++ "ssl-strict", TRUE,
+ NULL);
+ break;
+ }