]> granicus.if.org Git - apache/commitdiff
Trivial change to reporting an error when an identity spoof is
authorSander Striker <striker@apache.org>
Fri, 8 Aug 2003 09:34:20 +0000 (09:34 +0000)
committerSander Striker <striker@apache.org>
Fri, 8 Aug 2003 09:34:20 +0000 (09:34 +0000)
encountered with respect to FakeBasicAuth.

Submitted by: Greg Stein

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100941 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_kernel.c

index 8548a59b6604e8ac525ef7508e57f26ae0bed468..f019ff36ffb1221e5706c45e8d5b650729f0d27a 100644 (file)
@@ -880,8 +880,8 @@ int ssl_hook_UserCheck(request_rec *r)
             password = auth_line;
 
             if ((username[0] == '/') && strEQ(password, "password")) {
-                ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
-                 "Encountered FakeBasicAuth spoof: %s", username);
+                ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
+                    "Encountered FakeBasicAuth spoof: %s", username);
                 return HTTP_FORBIDDEN;
             }
         }