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)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 11 Sep 2020 08:05:48 +0000 (10:05 +0200)
commitd18d69e1e145e4afe5414366c853974298fef29d
treec2e3084ff6d6d2f1fcba9ae0cfd1ccf961ceee86
parent9c684c9ae4f4860e61f96cd38e79be1e3ba796c1
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.

(cherry picked from commit ec00251c88a91615cc0446c8501dccd290484395)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 0688433d7fce12c885afd96d40b66aee0cbe67ab)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/auth.c