From de24ddc743481d6c981dcbf15d61aecd21487931 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 10 Sep 2002 14:36:30 +0000 Subject: [PATCH] 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 --- modules/aaa/mod_auth_basic.c | 5 +++-- 1 file 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; -- 2.40.0