components/lighttpd/patches/02-sslv3-disable.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Tue, 05 Apr 2016 05:41:03 -0700
changeset 5738 fc0e1d002c9e
parent 4349 c997b59f70f0
child 7006 eb24eb49f7c4
permissions -rw-r--r--
23061200 Upgrade lighttpd to version 1.4.39

Patch origin: in-house
Patch status: Not suitable for upstream.

Always disable SSLv3 and don't allow to enable it ever again.

--- src/network.c
+++ src/network.c
@@ -780,7 +780,7 @@
 			}
 		}
 
-		if (!s->ssl_use_sslv3) {
+		if (1) {
 			/* disable SSLv3 */
 			if (!(SSL_OP_NO_SSLv3 & SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv3))) {
 				log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:",