summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-authenticate.c2
-rw-r--r--src/journal/journal-verify.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/journal/journal-authenticate.c b/src/journal/journal-authenticate.c
index 93cc9d94a1..435481000d 100644
--- a/src/journal/journal-authenticate.c
+++ b/src/journal/journal-authenticate.c
@@ -362,7 +362,7 @@ int journal_file_fss_load(JournalFile *f) {
goto finish;
}
- if (le64toh(m->fsprg_state_size) != FSPRG_stateinbytes(m->fsprg_secpar)) {
+ if (le64toh(m->fsprg_state_size) != FSPRG_stateinbytes(le16toh(m->fsprg_secpar))) {
r = -EBADMSG;
goto finish;
}
diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c
index a76384bdb2..29a9229e53 100644
--- a/src/journal/journal-verify.c
+++ b/src/journal/journal-verify.c
@@ -39,7 +39,6 @@
* - evolve key even if nothing happened in regular intervals
*
* - check with sparse
- * - 64bit conversions
*
* */