BUG/MINOR: auth: report valid crypto(3) support depending on build options
authorVictor Kislov <vityan888@gmail.com>
Thu, 6 Aug 2020 16:21:39 +0000 (19:21 +0300)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Sep 2020 12:34:04 +0000 (14:34 +0200)
commitec00251c88a91615cc0446c8501dccd290484395
treebf28a343d0e257907cc5cb332a28d81b012515ee
parent587be9ce306c34fca5987d6cd9febe3b966d5672
BUG/MINOR: auth: report valid crypto(3) support depending on build options

Since 1.8 with commit e8692b41e ("CLEANUP: auth: use the build options list
to report its support"), crypt(3) is always reported as being supported in
"haproxy -vv" because no test on USE_LIBCRYPT is made anymore when
producing the output.

This reintroduces the distinction between with and without USE_LIBCRYPT
in the output by indicating "yes" or "no". It may be backported as far
as 1.8, though the code differs due to a number of include files cleanups.
src/auth.c