points by mort96 3 days ago | 0 comments
The spec is pretty unambiguous here: https://pubs.opengroup.org/onlinepubs/9799919799/functions/c...
> Upon successful completion, crypt() shall return a pointer to the hashed password [...]. Otherwise, it shall return a null pointer and set errno to indicate the error.
[–] shakna 2 days ago
[–] mort96 2 days ago
I don't think those error sections are generally meant to be exhaustive?
> The crypt() function shall fail if:
> [ENOSYS]
> The functionality is not supported on this implementation.