stub: unify how we combine 'measured' flags
authorLennart Poettering <lennart@poettering.net>
Mon, 24 Jun 2024 10:44:32 +0000 (12:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Jun 2024 20:43:45 +0000 (22:43 +0200)
commitd0c441f99e5d2b47aead907abfd2108519799b01
tree9f94be7eb54b8dd66309529fdd8d4037499ad5a0
parentff8d08ab4e026bd967d9835d01204f2155a69045
stub: unify how we combine 'measured' flags

We have the same non-trivial ternary op expression at various places,
let's unify it in one call, to make this easier to read and remove
duplication.
src/boot/efi/stub.c