components/lighttpd/patches/01-drop_privileges.patch
changeset 5738 fc0e1d002c9e
parent 1571 7422f066784c
child 7006 eb24eb49f7c4
--- a/components/lighttpd/patches/01-drop_privileges.patch	Thu Apr 07 01:49:33 2016 -0700
+++ b/components/lighttpd/patches/01-drop_privileges.patch	Tue Apr 05 05:41:03 2016 -0700
@@ -4,8 +4,8 @@
 user, initial user needs elevated privileges. Those
 privileges are unnecessary and should be dropped.
 
---- src/network.c	2013-08-30 04:07:05.000000000 -0700
-+++ src/network.c	2013-10-22 04:07:55.193853968 -0700
+--- src/network.c
++++ src/network.c
 @@ -21,6 +21,8 @@
  #include <stdlib.h>
  #include <assert.h>
@@ -15,8 +15,8 @@
  #ifdef USE_OPENSSL
  # include <openssl/ssl.h>
  # include <openssl/err.h>
-@@ -497,6 +499,8 @@
- 	size_t i;
+@@ -615,6 +617,8 @@
+ 	size_t i, j;
  	network_backend_t backend;
  
 +	priv_set_t *tset;
@@ -24,7 +24,7 @@
  #if OPENSSL_VERSION_NUMBER >= 0x0090800fL
  #ifndef OPENSSL_NO_ECDH
  	EC_KEY *ecdh;
-@@ -877,6 +881,16 @@
+@@ -1005,6 +1009,16 @@
  		}
  	}