Unbreak tls support after recent gnutls update.
This commit is contained in:
parent
7afd651e2e
commit
0e771080ec
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.37 2011/05/11 12:03:19 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.38 2011/06/12 08:09:26 ajacoutot Exp $
|
||||
|
||||
COMMENT= IRC proxy to connect to AIM, ICQ, Jabber, MSN and Yahoo
|
||||
|
||||
DISTNAME= bitlbee-1.2.7
|
||||
CATEGORIES= net
|
||||
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
|
||||
HOMEPAGE= http://bitlbee.org/
|
||||
|
||||
|
14
net/bitlbee/patches/patch-lib_ssl_gnutls_c
Normal file
14
net/bitlbee/patches/patch-lib_ssl_gnutls_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-lib_ssl_gnutls_c,v 1.1 2011/06/12 08:09:26 ajacoutot Exp $
|
||||
|
||||
http://bugs.bitlbee.org/bitlbee/ticket/779
|
||||
|
||||
--- lib/ssl_gnutls.c.orig Sat May 15 16:52:23 2010
|
||||
+++ lib/ssl_gnutls.c Fri Jun 10 16:33:58 2011
|
||||
@@ -128,6 +128,7 @@ static gboolean ssl_connected( gpointer data, gint sou
|
||||
|
||||
gnutls_certificate_allocate_credentials( &conn->xcred );
|
||||
gnutls_init( &conn->session, GNUTLS_CLIENT );
|
||||
+ gnutls_transport_set_lowat ( conn->session, 1 );
|
||||
gnutls_set_default_priority( conn->session );
|
||||
gnutls_credentials_set( conn->session, GNUTLS_CRD_CERTIFICATE, conn->xcred );
|
||||
|
Loading…
Reference in New Issue
Block a user