aboutsummaryrefslogtreecommitdiffstats
path: root/www/cherokee/files/patch-cherokee-socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/cherokee/files/patch-cherokee-socket.c')
-rw-r--r--www/cherokee/files/patch-cherokee-socket.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/www/cherokee/files/patch-cherokee-socket.c b/www/cherokee/files/patch-cherokee-socket.c
index 9e2f4f133ffc..27451dba8e0c 100644
--- a/www/cherokee/files/patch-cherokee-socket.c
+++ b/www/cherokee/files/patch-cherokee-socket.c
@@ -1,27 +1,23 @@
---- cherokee/socket.c.orig Tue Aug 2 05:32:12 2005
-+++ cherokee/socket.c Thu Aug 4 21:17:27 2005
-@@ -1052,15 +1052,20 @@
+--- cherokee/socket.c.orig Wed Sep 13 21:48:51 2006
++++ cherokee/socket.c Wed Sep 13 22:06:35 2006
+@@ -1122,13 +1122,17 @@
cherokee_socket_init_client_tls (cherokee_socket_t *socket)
{
#ifdef HAVE_TLS
- int re;
-
-- socket->is_tls = TLS;
--
# ifdef HAVE_GNUTLS
+
- const int kx_priority[] = {GNUTLS_KX_ANON_DH, 0};
-
+ const int kx_priority[] = {GNUTLS_KX_ANON_DH, 0};
gnutls_anon_client_credentials anoncred;
+-
+
-+# endif
++#endif
+
-+ int re;
-
-+ socket->is_tls = TLS;
++ int re;
+ socket->is_tls = TLS;
+
+# ifdef HAVE_GNUTLS
-+
+
/* Acredentials
*/
- gnutls_anon_allocate_client_credentials(&anoncred);