up to 4.2, fixes crypt() returning NULL issue
up to 4.2.1