diff options
Diffstat (limited to 'metadata/metatree.c')
-rw-r--r-- | metadata/metatree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/metadata/metatree.c b/metadata/metatree.c index 0f66893b..18bdc438 100644 --- a/metadata/metatree.c +++ b/metadata/metatree.c @@ -896,7 +896,7 @@ verify_journal_entry (MetaJournal *journal, if (entry_len != entry_len_end) return NULL; - real_crc32 = crc32 (journal->data + offset + 8, entry_len - 8); + real_crc32 = metadata_crc32 (journal->data + offset + 8, entry_len - 8); if (real_crc32 != GUINT32_FROM_BE (entry->crc32)) return NULL; @@ -1019,7 +1019,7 @@ meta_journal_entry_finish (GString *out) len = out->len + 4; append_uint32 (out, len); set_uint32 (out, 0, len); - set_uint32 (out, 4, crc32 (out->str + 8, len - 8)); + set_uint32 (out, 4, metadata_crc32 (out->str + 8, len - 8)); return out; } |