slackbuilds_ponce/libraries/ggz-base-libs/gnutls3.patch
ponce 2bf31423f2 libraries/ggz-base-libs: Fixed building with gnutls3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-08-21 08:55:30 -05:00

11 lines
663 B
Diff

--- src/security/ggz_tls_gnutls.c.orig 2008-01-05 19:03:41.000000000 +0000
+++ src/security/ggz_tls_gnutls.c
@@ -56,7 +56,7 @@ const int cipher_priority[] = {GNUTLS_CI
const int mac_priority[] = {GNUTLS_MAC_NULL, GNUTLS_MAC_MD5, GNUTLS_MAC_SHA, 0};
const int kx_priority[] = {GNUTLS_KX_ANON_DH, GNUTLS_KX_DHE_DSS, GNUTLS_KX_DHE_RSA, 0};
const int protocol_priority[] = {GNUTLS_TLS1, GNUTLS_SSL3, 0};
-const int compression_priority[] = {GNUTLS_COMP_NULL, GNUTLS_COMP_ZLIB, GNUTLS_COMP_LZO, 0};
+const int compression_priority[] = {GNUTLS_COMP_NULL, GNUTLS_COMP_ZLIB, 0};
void ggz_tls_init(const char *certfile, const char *keyfile, const char *password)
{