diff --git a/src/boot/measure.c b/src/boot/measure.c index b9cd2853b6..913cf18ee6 100644 --- a/src/boot/measure.c +++ b/src/boot/measure.c @@ -898,7 +898,7 @@ static int verb_sign(int argc, char *argv[], void *userdata) { } _cleanup_free_ void *sig = malloc(ss); - if (!ss) { + if (!sig) { r = log_oom(); goto finish; }