]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
libcrypt-util: use build-time check for crypt_preferred_method
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 25 Sep 2020 10:19:56 +0000 (11:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Sep 2020 08:23:48 +0000 (10:23 +0200)
commitfeee7f62889fe2e936e7cca8f194ec44e0d4f4d8
tree387be0920031b59ca4ac3958075be1c162afb93c
parent78d411cb9762c6775fca3e1975b333f8b72b182f
libcrypt-util: use build-time check for crypt_preferred_method

After https://github.com/systemd/systemd/pull/16981 only the presence of crypt_gensalt_ra
is checked, but there are cases where that function is available but crypt_preferred_method
is not, and they are used in the same ifdef.
Add a check for the latter as well.
meson.build
src/shared/libcrypt-util.c