From: Lennart Poettering Date: Wed, 28 Feb 2024 21:49:29 +0000 (+0100) Subject: dissect-image: fix build X-Git-Tag: v256-rc1~703 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5a3418332bbac3e499b98645f4cc3d586516fd6;p=thirdparty%2Fsystemd.git 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. --- 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;