You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/09/10 16:36:31 UTC
cvs commit: httpd-2.0/modules/aaa mod_auth_basic.c
trawick 2002/09/10 07:36:31
Modified: modules/aaa mod_auth_basic.c
Log:
pick up prototypes for apr_base64_* and, on some platforms, strcasecmp
zap some unused variables
Revision Changes Path
1.3 +3 -2 httpd-2.0/modules/aaa/mod_auth_basic.c
Index: mod_auth_basic.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_basic.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mod_auth_basic.c 10 Sep 2002 06:57:02 -0000 1.2
+++ mod_auth_basic.c 10 Sep 2002 14:36:30 -0000 1.3
@@ -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 @@
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;