- load certificates from /etc/ssl/cert.pem

from James Turner (MAINTAINER)
This commit is contained in:
ajacoutot 2008-10-21 07:14:20 +00:00
parent a4d5ebcfa7
commit 8c6ef5e35a
2 changed files with 14 additions and 4 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.27 2008/10/19 08:42:55 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.28 2008/10/21 07:14:20 ajacoutot Exp $
COMMENT= fast and light graphical web browser
DISTNAME= dillo-2.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= www
HOMEPAGE= http://www.dillo.org/

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-dpi_https_c,v 1.1 2008/10/19 08:42:55 ajacoutot Exp $
--- dpi/https.c.orig Fri Oct 17 07:39:18 2008
+++ dpi/https.c Fri Oct 17 07:39:29 2008
$OpenBSD: patch-dpi_https_c,v 1.2 2008/10/21 07:14:20 ajacoutot Exp $
--- dpi/https.c.orig Mon Oct 13 16:49:46 2008
+++ dpi/https.c Tue Oct 21 09:12:22 2008
@@ -69,7 +69,6 @@
@ -9,3 +9,12 @@ $OpenBSD: patch-dpi_https_c,v 1.1 2008/10/19 08:42:55 ajacoutot Exp $
#ifdef ENABLE_SSL
#include <openssl/ssl.h>
@@ -155,7 +154,7 @@ static void yes_ssl_support(void)
/*FIXME - provide for sysconfdir variables and such*/
if (exit_error == 0){
if (SSL_CTX_load_verify_locations(
- ssl_context, NULL, "/etc/ssl/certs/" ) == 0){
+ ssl_context, "/etc/ssl/cert.pem", "/etc/ssl/certs/" ) == 0){
MSG("Error opening system x509 certificate location\n");
exit_error = 1;
}