From: Automatic source maintenance Date: Thu, 18 Apr 2013 00:13:56 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_4_0_1~198 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b402a8ce28d6b6ae24f7b71b3fcf42bb43204f06;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/helpers/basic_auth/NCSA/basic_ncsa_auth.cc b/helpers/basic_auth/NCSA/basic_ncsa_auth.cc index 97d4622979..988f625a5d 100644 --- a/helpers/basic_auth/NCSA/basic_ncsa_auth.cc +++ b/helpers/basic_auth/NCSA/basic_ncsa_auth.cc @@ -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; }