summaryrefslogtreecommitdiff
path: root/src/journal/test-journal.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-13 20:57:38 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-13 20:57:38 +0200
commitb0af6f41ea67c97b8beb16fd1d63042379bbf103 (patch)
tree5c4e663404a46fefc97e43a8edafe8cd14aae3f8 /src/journal/test-journal.c
parent7560fffcd2531786b9c1ca657667a43e90331326 (diff)
journal: add all objects we add to HMAC
Diffstat (limited to 'src/journal/test-journal.c')
-rw-r--r--src/journal/test-journal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/test-journal.c b/src/journal/test-journal.c
index 7b1583c889..8f01b4d82e 100644
--- a/src/journal/test-journal.c
+++ b/src/journal/test-journal.c
@@ -57,6 +57,7 @@ int main(int argc, char *argv[]) {
iovec.iov_len = strlen(test);
assert_se(journal_file_append_entry(f, &ts, &iovec, 1, NULL, NULL, NULL) == 0);
+ journal_file_append_tag(f);
journal_file_dump(f);
assert(journal_file_next_entry(f, NULL, 0, DIRECTION_DOWN, &o, &p) == 1);