summaryrefslogtreecommitdiff
path: root/test/special-char-salt.c
AgeCommit message (Collapse)AuthorFilesLines
2021-08-08test/special-char-salt.c: Adapt testcases for invalid salt characters.Björn Esser1-493/+493
In the previous commit we added stricter checks for which characters are valid inside of salt strings, so we need to update the testcases for this change.
2021-08-05test/special-char-salt.c: Fix formatting of error message.Björn Esser1-2/+2
2020-10-10Fix typos.Samanta Navarro1-1/+1
Typos were found with codespell.
2020-08-18test/special-char-salt: New test.Björn Esser1-0/+904
Simple test to ensure compatability of our implementations of the md5crypt, sha256crypt, and sha512crypt hashing method with the ones found in other commonly used libcrypt libraries. Their implementations allow for any printable ASCII character (with one exception to the colon ':' character, that has special meaning in the Unix shadow file) to be present in a salt string.