* libmisc/salt.c: The salt has a random size (between 8 and 16
bytes). * lib/getdef.c, etc/login.defs: Add definitions for SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS. * libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS to add a random number of rounds if needed.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2007-11-19 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/salt.c: The salt has a random size (between 8 and 16
|
||||
bytes).
|
||||
* lib/getdef.c, etc/login.defs: Add definitions for
|
||||
SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS.
|
||||
* libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS
|
||||
to add a random number of rounds if needed.
|
||||
|
||||
2007-11-19 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
|
||||
|
Reference in New Issue
Block a user