27 Jan
2016
27 Jan
'16
7:55 p.m.
You should be aware that the crypt() function is not threadsafe, and as such is protected by a mutex. If you're only processing a few hundred authentications a second, that's fine, but it will cause issues when you get to thousands or tens of thousands.
Just pushed a fix to v3.1.x branch to use crypt_r. OSX doesn't seem to have it, but Linux does. -Arran