summaryrefslogtreecommitdiffstats
path: root/src/home
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-12-24 17:41:11 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-12-24 17:56:40 +0100
commitb3a9d980f303ab49614eee336fb9c54e98c9e530 (patch)
treeffbbf6e04bcd4ba9f15dcd93e1c61cc0ab4ac672 /src/home
parenttree-wide: insert space after for and switch (diff)
downloadsystemd-b3a9d980f303ab49614eee336fb9c54e98c9e530.tar.xz
systemd-b3a9d980f303ab49614eee336fb9c54e98c9e530.zip
tree-wide: drop space between variable and an increment/decrement
Diffstat (limited to 'src/home')
-rw-r--r--src/home/user-record-sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/home/user-record-sign.c b/src/home/user-record-sign.c
index dd099a0a6f..25618d0343 100644
--- a/src/home/user-record-sign.c
+++ b/src/home/user-record-sign.c
@@ -136,11 +136,11 @@ int user_record_verify(UserRecord *ur, EVP_PKEY *public_key) {
return -EIO;
if (EVP_DigestVerify(md_ctx, signature, signature_size, (uint8_t*) text, strlen(text)) <= 0) {
- n_bad ++;
+ n_bad++;
continue;
}
- n_good ++;
+ n_good++;
}
return n_good > 0 ? (n_bad == 0 ? USER_RECORD_SIGNED_EXCLUSIVE : USER_RECORD_SIGNED) :