diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-03-24 08:21:04 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-03-24 08:21:04 +0100 |
commit | ea8928fb799b042740b834100683ff3735575a84 (patch) | |
tree | eece4f8e297969fa360ab8fe62dacc83d176f317 /httpd-2.2.0-authnoprov.patch | |
parent | 3c8484bdace98d4eaa41ec80e1cc07b7ebf1753e (diff) |
httpd: remove all
Diffstat (limited to 'httpd-2.2.0-authnoprov.patch')
-rw-r--r-- | httpd-2.2.0-authnoprov.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/httpd-2.2.0-authnoprov.patch b/httpd-2.2.0-authnoprov.patch deleted file mode 100644 index c9cfe8b..0000000 --- a/httpd-2.2.0-authnoprov.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- httpd-2.2.0/modules/aaa/mod_authn_file.c.authnoprov -+++ httpd-2.2.0/modules/aaa/mod_authn_file.c -@@ -70,6 +70,10 @@ - apr_status_t status; - char *file_password = NULL; - -+ if (!conf->pwfile) { -+ return AUTH_GENERAL_ERROR; -+ } -+ - status = ap_pcfg_openfile(&f, r->pool, conf->pwfile); - - if (status != APR_SUCCESS) { ---- httpd-2.2.0/modules/aaa/mod_auth_basic.c.authnoprov -+++ httpd-2.2.0/modules/aaa/mod_auth_basic.c -@@ -252,6 +252,14 @@ - return DECLINED; - } - -+ /* If no providers were configured, and the default file -+ * provider gave a general error (which will happen only if -+ * has not been configured), presume that a non-provider-based -+ * authn module is configured, and get out of the way. */ -+ if (!conf->providers && auth_result == AUTH_GENERAL_ERROR) { -+ return DECLINED; -+ } -+ - switch (auth_result) { - case AUTH_DENIED: - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, |