openbsd-ports/www/midori/patches/patch-midori_main_c
landry 2bb215dd06 Update to midori 0.4.3, see
http://git.xfce.org/apps/midori/tree/ChangeLog for a list of improvements.
Repair install of config files under $SYSCONFDIR/xdg/midori/
If it doesn't start after update, wipe .cache/midori.
2011-12-24 07:47:23 +00:00

20 lines
701 B
Plaintext

$OpenBSD: patch-midori_main_c,v 1.11 2011/12/24 07:47:23 landry Exp $
use path to our root ca list for ssl cert validation
--- midori/main.c.orig Sat Dec 17 23:47:28 2011
+++ midori/main.c Thu Dec 22 21:04:10 2011
@@ -999,11 +999,7 @@ midori_load_soup_session (gpointer settings)
#elif defined (HAVE_LIBSOUP_2_29_91)
const gchar* certificate_files[] =
{
- "/etc/pki/tls/certs/ca-bundle.crt",
- "/etc/ssl/certs/ca-certificates.crt",
- "/etc/ssl/certs/ca-bundle.crt",
- "/usr/local/share/certs/ca-root-nss.crt", /* FreeBSD */
- "/var/lib/ca-certificates/ca-bundle.pem", /* openSUSE */
+ "/etc/ssl/cert.pem",
NULL
};
guint i;