components/lighttpd/patches/02-sslv3-disable.patch
changeset 7006 eb24eb49f7c4
parent 5738 fc0e1d002c9e
--- a/components/lighttpd/patches/02-sslv3-disable.patch	Tue Sep 20 00:25:26 2016 -0700
+++ b/components/lighttpd/patches/02-sslv3-disable.patch	Mon Sep 19 05:51:20 2016 -0700
@@ -5,12 +5,12 @@
 
 --- src/network.c
 +++ src/network.c
-@@ -780,7 +780,7 @@
+@@ -845,7 +845,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))) {
+ 			if ((SSL_OP_NO_SSLv3 & SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv3)) != SSL_OP_NO_SSLv3) {
  				log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:",