]> granicus.if.org Git - shadow/commit
If we requested a non DES encryption, make sure crypt returned a encrypted
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 24 Nov 2007 00:37:37 +0000 (00:37 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 24 Nov 2007 00:37:37 +0000 (00:37 +0000)
commitee5c48d51c527eff1807b02457c106872d5bdd77
tree5cfac887f117478a21047948d4a23ecfcd4c03ef
parent6ffc0f820a84370a84d9bb35e9df676d85d53e32
If we requested a non DES encryption, make sure crypt returned a encrypted
password longer than 13 chars. This protects against the GNU crypt() which
does not return NULL if the algorithm is not supported, and return a DES
encrypted password.
ChangeLog
lib/encrypt.c