diff options
author | Jeff Trawick <trawick@apache.org> | 2002-09-10 16:36:30 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-09-10 16:36:30 +0200 |
commit | de24ddc743481d6c981dcbf15d61aecd21487931 (patch) | |
tree | 9bafdfb9809b47592ccbb0d84fb652870a63b146 | |
parent | fix a syntax error in an enum (as far as some non-gcc compilers are (diff) | |
download | apache2-de24ddc743481d6c981dcbf15d61aecd21487931.tar.xz apache2-de24ddc743481d6c981dcbf15d61aecd21487931.zip |
pick up prototypes for apr_base64_* and, on some platforms, strcasecmp
zap some unused variables
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96746 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | modules/aaa/mod_auth_basic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/aaa/mod_auth_basic.c b/modules/aaa/mod_auth_basic.c index 5626e13936..f8089b7958 100644 --- a/modules/aaa/mod_auth_basic.c +++ b/modules/aaa/mod_auth_basic.c @@ -59,6 +59,9 @@ #include "apr_strings.h" #include "apr_md5.h" /* for apr_password_validate */ #include "apr_lib.h" /* for apr_isspace */ +#include "apr_base64.h" /* for apr_base64_decode et al */ +#define APR_WANT_STRFUNC /* for strcasecmp */ +#include "apr_want.h" #include "ap_config.h" #include "httpd.h" @@ -202,8 +205,6 @@ static int authenticate_basic_user(request_rec *r) auth_basic_config_rec *conf = ap_get_module_config(r->per_dir_config, &auth_basic_module); const char *sent_user, *sent_pw, *current_auth; - char *real_pw; - apr_status_t invalid_pw; int res; authn_status auth_result; |