summaryrefslogtreecommitdiff
path: root/src/journal/journal-def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-13 21:52:58 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-13 21:52:58 +0200
commitd98cc1f29fbf31ccc500d6e20c29b636b9af7e0f (patch)
treed9be1f3c7fdec83efaeeee533da4865ee66b97eb /src/journal/journal-def.h
parentb0af6f41ea67c97b8beb16fd1d63042379bbf103 (diff)
journal: include tag object header in hmac
Diffstat (limited to 'src/journal/journal-def.h')
-rw-r--r--src/journal/journal-def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/journal/journal-def.h b/src/journal/journal-def.h
index af22e17822..82210bfc46 100644
--- a/src/journal/journal-def.h
+++ b/src/journal/journal-def.h
@@ -124,6 +124,7 @@ _packed_ struct EntryArrayObject {
_packed_ struct TagObject {
ObjectHeader object;
+ uint64_t seqnum;
uint8_t tag[TAG_LENGTH]; /* SHA-256 HMAC */
};
@@ -182,6 +183,8 @@ _packed_ struct Header {
/* Added in 187 */
le64_t n_data;
le64_t n_fields;
+ /* Added in 189 */
+ le64_t n_tags;
};
#define FSPRG_HEADER_SIGNATURE ((char[]) { 'K', 'S', 'H', 'H', 'R', 'H', 'L', 'P' })