]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- fix segfault in counting renegotiations for openssl versions without TLSEXT/SNI
authormarti <marti@pld-linux.org>
Mon, 30 Jan 2012 08:59:29 +0000 (08:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- link to rev: http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2822

Changed files:
    lighttpd-openssl_TLSEXT_SNI.patch -> 1.1

lighttpd-openssl_TLSEXT_SNI.patch [new file with mode: 0644]

diff --git a/lighttpd-openssl_TLSEXT_SNI.patch b/lighttpd-openssl_TLSEXT_SNI.patch
new file mode 100644 (file)
index 0000000..8c0e9d7
--- /dev/null
@@ -0,0 +1,13 @@
+diff -ur lighttpd-1.4.30-orig/src/connections.c lighttpd-1.4.30/src/connections.c
+--- lighttpd-1.4.30-orig/src/connections.c     2012-01-30 09:21:37.665413503 +0100
++++ lighttpd-1.4.30/src/connections.c  2012-01-30 09:23:09.432936999 +0100
+@@ -1360,9 +1360,7 @@
+                       }
+                       con->renegotiations = 0;
+-#ifndef OPENSSL_NO_TLSEXT
+                       SSL_set_app_data(con->ssl, con);
+-#endif
+                       SSL_set_accept_state(con->ssl);
+                       con->conf.is_ssl=1;
This page took 0.029858 seconds and 4 git commands to generate.