summaryrefslogtreecommitdiff
path: root/net/libsoup-devel/patches/patch-aa
blob: 47a359100a0449d53d1915120f110922c2b782e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.2 2005/02/22 18:22:17 jmmv Exp $

--- libsoup/soup-gnutls.c.orig	2004-10-20 18:31:22.000000000 +0200
+++ libsoup/soup-gnutls.c
@@ -63,7 +63,9 @@ verify_certificate (gnutls_session sessi
 	}
 
 	if (status & GNUTLS_CERT_INVALID ||
+#if defined(GNUTLS_CERT_NOT_TRUSTED)
 	    status & GNUTLS_CERT_NOT_TRUSTED ||
+#endif
 	    status & GNUTLS_CERT_REVOKED)
 	{
 		g_set_error (err, SOUP_SSL_ERROR,