From: Yu Watanabe Date: Sun, 17 Aug 2025 12:05:24 +0000 (+0900) Subject: cryptsetup: HAVE_CRYPT_SET_KEYRING_TO_LINK is always defined X-Git-Tag: v258-rc3~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb4aabf4432d523b97376099ce4353b5c268ae82;p=thirdparty%2Fsystemd.git cryptsetup: HAVE_CRYPT_SET_KEYRING_TO_LINK is always defined Follow-up for c5daf14c88ba44cefabe052de93a29d28b6b0175 (v256). --- diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index a30af20e975..dd599b8bea2 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -586,7 +586,7 @@ static int parse_one_option(const char *option) { log_warning_errno(r, "Failed to parse %s, ignoring: %m", option); } else if ((val = startswith(option, "link-volume-key="))) { -#ifdef HAVE_CRYPT_SET_KEYRING_TO_LINK +#if HAVE_CRYPT_SET_KEYRING_TO_LINK _cleanup_free_ char *keyring = NULL, *key_type = NULL, *key_description = NULL; const char *sep;