aboutsummaryrefslogtreecommitdiffstats
path: root/man3/sigvec.3
diff options
context:
space:
mode:
authorKonstantin Shemyak <konstantin@shemyak.com>2017-09-04 21:53:52 +0300
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-09-05 19:48:35 +0200
commitd32b36982dc108a345babbd7490131729cb0c60c (patch)
tree80011c0ffe8f59a4a20146f0dd77f00136dee4ab /man3/sigvec.3
parent893c609dcd041af8ac4262cdaaea1625a998702e (diff)
downloadman-pages-d32b36982dc108a345babbd7490131729cb0c60c.tar.gz
crypt.3: Clarify that ending of the salt string with '$' is optional
In crypt/sha512-crypt.c::__sha512_crypt_r() and the similar sha256 function, the length of the actually used salt is calculated as: salt_len = MIN (strcspn (salt, "$"), SALT_LEN_MAX); Thus the trailing '$' is optional in the salt string. One can check that crypt("key", "$5$salt") yields the same result as crypt("key", "$5$salt$"). Signed-off-by: Konstantin Shemyak <konstantin@shemyak.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/sigvec.3')
0 files changed, 0 insertions, 0 deletions