Gentoo Archives: gentoo-commits

From: "Eray Aslan (eras)" <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/anubis/files: 4.1.1-gnutls3.patch
Date: Tue, 30 Oct 2012 09:46:28
Message-Id: 20121030094615.20C9B21600@flycatcher.gentoo.org
1 eras 12/10/30 09:46:15
2
3 Added: 4.1.1-gnutls3.patch
4 Log:
5 Don't call ar directly - bug #439460. Fix building with gnutls3
6
7 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
8
9 Revision Changes Path
10 1.1 mail-filter/anubis/files/4.1.1-gnutls3.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/anubis/files/4.1.1-gnutls3.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/anubis/files/4.1.1-gnutls3.patch?rev=1.1&content-type=text/plain
14
15 Index: 4.1.1-gnutls3.patch
16 ===================================================================
17 --- src/tls.c 2008-12-16 16:21:54.000000000 +0000
18 +++ src/tls.c 2012-10-30 09:06:37.387243098 +0000
19 @@ -294,7 +294,10 @@
20 static void
21 verify_certificate (gnutls_session session)
22 {
23 - int status = gnutls_certificate_verify_peers (session);
24 + int status, verify_ret;
25 + verify_ret = gnutls_certificate_verify_peers2 (session, &status);
26 + if (!verify_ret)
27 + return status;
28
29 if (status == GNUTLS_E_NO_CERTIFICATE_FOUND)
30 {