]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: HAVE_CRYPT_SET_KEYRING_TO_LINK is always defined
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 17 Aug 2025 12:05:24 +0000 (21:05 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 17 Aug 2025 14:39:43 +0000 (15:39 +0100)
Follow-up for c5daf14c88ba44cefabe052de93a29d28b6b0175 (v256).

src/cryptsetup/cryptsetup.c

index a30af20e975ac92afad39540f1c9c5af4e904d38..dd599b8bea29c2638a0b8613d5e6d3c4d1c78b38 100644 (file)
@@ -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;