From d5c7f53e1e25833c439b32b2f716938ad677e097 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Thu, 1 May 2008 21:59:13 +0000 Subject: [PATCH] Remove C++ style comments. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@652683 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_auth_form.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/aaa/mod_auth_form.c b/modules/aaa/mod_auth_form.c index c1186d56f0..d851fa2e9c 100644 --- a/modules/aaa/mod_auth_form.c +++ b/modules/aaa/mod_auth_form.c @@ -693,9 +693,7 @@ static int check_site(request_rec * r, const char *site, const char *sent_user, if (site && sent_user && sent_hash) { const char *hash = ap_md5(r->pool, (unsigned char *) apr_pstrcat(r->pool, sent_user, ":", site, NULL)); - -// if (APR_SUCCESS == apr_password_validate(apr_pstrcat(r->pool, sent_user, ":", site, NULL), -// sent_hash)) { + if (!strcmp(sent_hash, hash)) { return OK; } -- 2.40.0