aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cracklib/cracklib
AgeCommit message (Collapse)Author
2013-05-29cracklib: Allow byte order patch to work on older Linux hostsMark Hatle
Older hosts don't have the htobe* and be*toh functions defined. Instead we fall back to checking the endian and calling bswap_* directly. This works on both old and new hosts. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-08craklib:fix testnum and teststr failedHongxu Jia
Error log: ... $ ./testnum (null).pwd.gz: No such file or directory PWOpen: No such file or directory $ ./util/teststr (null).pwd.gz: No such file or directory PWOpen: No such file or directory ... Set DEFAULT_CRACKLIB_DICT as the path of PWOpen Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-08cracklib: fix default dictionary should be generated for target endiannessHongxu Jia
The previous dict files are NOT byte-order independent, in fact they are probably ARCHITECTURE SPECIFIC. Create the dict files in big endian, and convert to host endian while load them. This could fix the endian issue on multiple platform. [Bug #4419] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>