From b5a3418332bbac3e499b98645f4cc3d586516fd6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 28 Feb 2024 22:49:29 +0100 Subject: [PATCH] dissect-image: fix build PRs #31531 and #31524 were merged in quick succession. They are fine both on their own. But in combination they break the build. Fix it. --- src/shared/dissect-image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index de13fa3bc30..eac3641abd5 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -2546,7 +2546,7 @@ static int validate_signature_userspace(const VeritySettings *verity, DissectIma return 0; } - r = getenv_bool_secure("SYSTEMD_ALLOW_USERSPACE_VERITY"); + r = secure_getenv_bool("SYSTEMD_ALLOW_USERSPACE_VERITY"); if (r < 0 && r != -ENXIO) { log_debug_errno(r, "Failed to parse $SYSTEMD_ALLOW_USERSPACE_VERITY environment variable, refusing userspace dm-verity signature authentication."); return 0; -- 2.47.3