summaryrefslogtreecommitdiff
path: root/www/lighttpd/files/patch-src_require.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/lighttpd/files/patch-src_require.c')
-rw-r--r--www/lighttpd/files/patch-src_require.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/www/lighttpd/files/patch-src_require.c b/www/lighttpd/files/patch-src_require.c
deleted file mode 100644
index 7ad810855ba5..000000000000
--- a/www/lighttpd/files/patch-src_require.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/response.c.orig 2009-11-30 13:49:22.000000000 -0200
-+++ src/response.c 2009-11-30 13:52:28.000000000 -0200
-@@ -136,6 +136,7 @@
- X509 *xs;
- X509_NAME *xn;
- X509_NAME_ENTRY *xe;
-+ int i, nentries;
- if (
- SSL_get_verify_result(con->ssl) != X509_V_OK
- || !(xs = SSL_get_peer_certificate(con->ssl))
-@@ -144,7 +145,8 @@
- }
-
- xn = X509_get_subject_name(xs);
-- for (int i = 0, nentries = X509_NAME_entry_count(xn); i < nentries; ++i) {
-+ nentries = X509_NAME_entry_count(xn);
-+ for (i = 0; i < nentries; ++i) {
- int xobjnid;
- const char * xobjsn;
- data_string *envds;