- Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and adjust all ports that depend on security/gnutls3 - Update mail/anubis to version 4.2 which supports gnutls 3.x - Update mail/libvmime to a development snapshot (recommended by upstream developers) PR: 191274 Exp-run by: antoine Approved by: portmgr (antoine)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= ctrlproxy
|
||||
PORTVERSION= 3.0.8
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://launchpadlibrarian.net/50016234/ \
|
||||
LOCAL/ashish/
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/gnutls.c.orig
|
||||
+++ src/gnutls.c
|
||||
@@ -18,7 +18,6 @@
|
||||
@@ -11,6 +8,21 @@ $FreeBSD$
|
||||
#include <gnutls/gnutls.h>
|
||||
#include <gnutls/x509.h>
|
||||
|
||||
@@ -47,11 +46,11 @@
|
||||
static gboolean
|
||||
verify_certificate (gnutls_session session, const char *hostname, GError **err)
|
||||
{
|
||||
- int status;
|
||||
+ int res, status;
|
||||
|
||||
- status = gnutls_certificate_verify_peers (session);
|
||||
+ res = gnutls_certificate_verify_peers2 (session, &status);
|
||||
|
||||
- if (status == GNUTLS_E_NO_CERTIFICATE_FOUND) {
|
||||
+ if (res < 0 || status == GNUTLS_E_NO_CERTIFICATE_FOUND) {
|
||||
g_set_error (err, SSL_ERROR,
|
||||
SSL_ERROR_CERTIFICATE,
|
||||
"No SSL certificate was sent.");
|
||||
@@ -452,9 +451,6 @@
|
||||
static void
|
||||
_gnutls_init (void)
|
||||
|
||||
Reference in New Issue
Block a user