diff options
Diffstat (limited to 'net/libsoup-devel/patches/patch-aa')
-rw-r--r-- | net/libsoup-devel/patches/patch-aa | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/libsoup-devel/patches/patch-aa b/net/libsoup-devel/patches/patch-aa index 0d8e12e55a6..47a359100a0 100644 --- a/net/libsoup-devel/patches/patch-aa +++ b/net/libsoup-devel/patches/patch-aa @@ -1,12 +1,14 @@ -$NetBSD: patch-aa,v 1.1 2005/02/19 22:36:20 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2005/02/22 18:22:17 jmmv Exp $ ---- libsoup/soup-gnutls.c.orig 2004-09-30 16:49:07.000000000 +0200 +--- libsoup/soup-gnutls.c.orig 2004-10-20 18:31:22.000000000 +0200 +++ libsoup/soup-gnutls.c -@@ -61,7 +61,6 @@ verify_certificate (gnutls_session sessi +@@ -63,7 +63,9 @@ verify_certificate (gnutls_session sessi } if (status & GNUTLS_CERT_INVALID || -- status & GNUTLS_CERT_NOT_TRUSTED || ++#if defined(GNUTLS_CERT_NOT_TRUSTED) + status & GNUTLS_CERT_NOT_TRUSTED || ++#endif status & GNUTLS_CERT_REVOKED) { - g_warning ("The certificate is not trusted."); + g_set_error (err, SOUP_SSL_ERROR, |