diff options
Diffstat (limited to 'net/net6')
-rw-r--r-- | net/net6/Makefile | 2 | ||||
-rw-r--r-- | net/net6/files/patch-src-encrypt.cpp | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/net6/Makefile b/net/net6/Makefile index 46c3dc2a3eb3..9d64e0392179 100644 --- a/net/net6/Makefile +++ b/net/net6/Makefile @@ -3,7 +3,7 @@ PORTNAME= net6 PORTVERSION= 1.3.14 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net devel MASTER_SITES= http://releases.0x539.de/net6/ diff --git a/net/net6/files/patch-src-encrypt.cpp b/net/net6/files/patch-src-encrypt.cpp new file mode 100644 index 000000000000..8576190a1249 --- /dev/null +++ b/net/net6/files/patch-src-encrypt.cpp @@ -0,0 +1,14 @@ +--- src/encrypt.cpp.orig 2011-09-28 11:15:10 UTC ++++ src/encrypt.cpp +@@ -175,10 +175,7 @@ net6::tcp_encrypted_socket_base:: + gnutls_session_t sess): + tcp_client_socket(cobj), session(sess), state(DEFAULT) + { +- const int kx_prio[] = { GNUTLS_KX_ANON_DH, 0 }; +- +- gnutls_set_default_priority(session); +- gnutls_kx_set_priority(session, kx_prio); ++ gnutls_priority_set_direct(session, "NORMAL:-KX-ALL:+ANON-DH", NULL); + + gnutls_transport_set_ptr( + session, |