[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-cvs
Subject:    /bzr/squid3/trunk/ r12763: SourceFormat Enforcement
From:       Automatic source maintenance <squidadm () squid-cache ! org>
Date:       2013-04-18 0:13:56
Message-ID: 20130418001503.14191.qmail () squid-cache ! org
[Download RAW message or body]

--===============1316679905==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------
revno: 12763
committer: Automatic source maintenance <squidadm@squid-cache.org>
branch nick: trunk
timestamp: Wed 2013-04-17 18:13:56 -0600
message:
  SourceFormat Enforcement
modified:
  helpers/basic_auth/NCSA/basic_ncsa_auth.cc

--===============1316679905==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; name="r12763.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

=== modified file 'helpers/basic_auth/NCSA/basic_ncsa_auth.cc'
--- a/helpers/basic_auth/NCSA/basic_ncsa_auth.cc	2013-04-17 11:58:23 +0000
+++ b/helpers/basic_auth/NCSA/basic_ncsa_auth.cc	2013-04-18 00:13:56 +0000
@@ -154,7 +154,7 @@
         // Bug 3831: given algorithms more secure than DES crypt() does not \
                truncate, so we can ignore the bug 3107 length checks below
         // '$1$' = MD5, '$2a$' = Blowfish, '$5$' = SHA256 (Linux), '$6$' = SHA256 \
(BSD) and SHA512  if (passwordLength > 1 && u->passwd[0] == '$' &&
-            (crypted = crypt(passwd, u->passwd)) && strcmp(u->passwd, crypted) == 0) \
{ +                (crypted = crypt(passwd, u->passwd)) && strcmp(u->passwd, crypted) \
== 0) {  SEND_OK("");
             continue;
         }


--===============1316679905==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic