-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Wrong comment in SHA-crypt and derived code #5951
Copy link
Copy link
Open
Labels
Description
There should be only one of these per file. Where we have two, the second one is wrong (the code that follows does something else):
./sm3crypt_fmt_plug.c: /* For every character in the password add the entire password. */
./sm3crypt_fmt_plug.c: /* For every character in the password add the entire password. */
./sha512crypt_fmt_plug.c: /* For every character in the password add the entire password. */
./ztex/fpga-sha512crypt/sha512crypt/cpu/program.vh: // "For every character in the password add the entire password."
./ztex/fpga-sha256crypt/sha256crypt/cpu/program.vh: // "For every character in the password add the entire password."
./sha256crypt_fmt_plug.c: /* For every character in the password add the entire password. */
./gost12256hash_fmt_plug.c: /* For every character in the password add the entire password. */
./gost12256hash_fmt_plug.c: /* For every character in the password add the entire password. */
./gost12512hash_fmt_plug.c: /* For every character in the password add the entire password. */
./gost94hash_fmt_plug.c: /* For every character in the password add the entire password. */
./gost94hash_fmt_plug.c: /* For every character in the password add the entire password. */
This was also reported in besser82/libxcrypt#222
Reactions are currently unavailable