]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 18 Apr 2013 00:13:56 +0000 (18:13 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 18 Apr 2013 00:13:56 +0000 (18:13 -0600)
helpers/basic_auth/NCSA/basic_ncsa_auth.cc

index 97d46229796df8e158898f96785858e019317b6d..988f625a5d2fc5b329442ecbc276a31e9d3021d4 100644 (file)
@@ -154,7 +154,7 @@ main(int argc, char **argv)
         // 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;
         }