aboutsummaryrefslogtreecommitdiff
path: root/crypt/badsalttest.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-10-10* crypt/crypt-private.h: Include stdbool.h.Alexandre Oliva1-0/+86
(_ufc_setup_salt_r): Return bool. * crypt/crypt-entry.c: Include errno.h. (__crypt_r): Return NULL with EINVAL for bad salt. * crypt/crypt_util.c (bad_for_salt): New. (_ufc_setup_salt_r): Check that salt is long enough and within the specified alphabet. * crypt/badsalttest.c: New file. * crypt/Makefile (tests): Add it. ($(objpfx)badsalttest): New.