Debian bug 677275 - random() max value
* libmisc/salt.c: random() max value is 2^31-1 (same as RAND_MAX on GNU). As it is not clear whether on some systems the max value can exceed this number and whether some systems have max values which would be lower, we take this into account when defining the salt size and number of rounds for SHA encrypted passwords. Higher values are favored.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2013-08-05 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/salt.c: random() max value is 2^31-1 (same as RAND_MAX
|
||||
on GNU). As it is not clear whether on some systems the max value
|
||||
can exceed this number and whether some systems have max values
|
||||
which would be lower, we take this into account when defining the
|
||||
salt size and number of rounds for SHA encrypted passwords. Higher
|
||||
values are favored.
|
||||
|
||||
2013-08-04 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* man/su.1.xml: With getopt, '-' does not need to be the last
|
||||
|
Reference in New Issue
Block a user