MEDIUM: auth/threads: make use of crypt_r() on systems supporting it
authorWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2018 18:16:27 +0000 (19:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2018 18:17:39 +0000 (19:17 +0100)
commit943e7ec025633c06b98a2b15cb6279ada780cc4b
tree28537d0bc939e317ba51cc2e6701a183b2c3c83b
parent4698adf68f4ad04621e0e1447048d59eaa4aa2a8
MEDIUM: auth/threads: make use of crypt_r() on systems supporting it

On systems where crypt_r() is available, prefer it over a locked crypt().
This improves performance especially on very slow crypto algorithms.
Makefile
src/auth.c