packages: lighttpd/lighttpd-openssl_TLSEXT_SNI.patch (NEW) - fix segfault i...

marti marti at pld-linux.org
Mon Jan 30 09:59:34 CET 2012


Author: marti                        Date: Mon Jan 30 08:59:34 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix segfault in counting renegotiations for openssl versions without TLSEXT/SNI
- link to rev: http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2822

---- Files affected:
packages/lighttpd:
   lighttpd-openssl_TLSEXT_SNI.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lighttpd/lighttpd-openssl_TLSEXT_SNI.patch
diff -u /dev/null packages/lighttpd/lighttpd-openssl_TLSEXT_SNI.patch:1.1
--- /dev/null	Mon Jan 30 09:59:34 2012
+++ packages/lighttpd/lighttpd-openssl_TLSEXT_SNI.patch	Mon Jan 30 09:59:29 2012
@@ -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;
+ 
================================================================


More information about the pld-cvs-commit mailing list