]> granicus.if.org Git - apache/commitdiff
pick up prototypes for apr_base64_* and, on some platforms, strcasecmp
authorJeff Trawick <trawick@apache.org>
Tue, 10 Sep 2002 14:36:30 +0000 (14:36 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 10 Sep 2002 14:36:30 +0000 (14:36 +0000)
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

index 5626e13936136604b4cb1487df582bfbf4ede9d8..f8089b7958163d037e0f5227d5b8e6c2dd8f172a 100644 (file)
@@ -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;