summaryrefslogtreecommitdiff
path: root/src/archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive.c')
-rw-r--r--src/archive.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/archive.c b/src/archive.c
index 47b798b..3062c43 100644
--- a/src/archive.c
+++ b/src/archive.c
@@ -215,7 +215,10 @@ int apk_tar_parse(struct apk_istream *is, apk_archive_entry_parser parser,
teis.csum = NULL;
apk_xattr_array_resize(&entry.xattrs, 0);
- if (paxlen) handle_extended_header(&entry, APK_BLOB_PTR_LEN(pax.ptr, paxlen));
+ if (paxlen) {
+ handle_extended_header(&entry, APK_BLOB_PTR_LEN(pax.ptr, paxlen));
+ apk_fileinfo_hash_xattr(&entry);
+ }
switch (buf.typeflag) {
case 'L': /* GNU long name extension */