Comment by mpyne
3 hours ago
musl does implement it this way.
However OpenSSH passes a different hash to musl’s crypt() than what it later uses to compare, so musl doesn’t switch to the alternate return output because from its perspective, it’s already guaranteed not to accidentally compare the same as the input hash.
No comments yet
Contribute on Hacker News ↗