mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
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.
This commit is contained in:
parent
eb77d24baa
commit
b5a3418332
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user