diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-16 23:58:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-16 23:58:14 +0200 |
commit | 14d10188de1fd58e663d73683a400d8d7dc67dba (patch) | |
tree | 5ae905c6b4e53a67972903b022b9b89425f35950 /src/journal/journal-file.c | |
parent | a8e5f51484ba832e299a38f2a54e455e445d2896 (diff) |
journal: add FSPRG journal authentication
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r-- | src/journal/journal-file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index 3bb1e90fb3..274f22db17 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -2049,12 +2049,12 @@ int journal_file_open( r = journal_file_refresh_header(f); if (r < 0) goto fail; - - r = journal_file_setup_hmac(f); - if (r < 0) - goto fail; } + r = journal_file_setup_hmac(f); + if (r < 0) + goto fail; + if (newly_created) { r = journal_file_setup_field_hash_table(f); if (r < 0) |