summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ustar.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ustar.c b/src/ustar.c
index 26b581d..c183560 100644
--- a/src/ustar.c
+++ b/src/ustar.c
@@ -96,10 +96,6 @@ _opkg_opk_ustar_next(struct opkg_opk_ustar *ustar,
if (memcmp(header->magic, "ustar", strlen("ustar")) != 0) {
return OPKG_OPK_ERROR;
}
- if (memcmp(header->version, "00", strlen("00")) != 0 &&
- memcmp(header->version, " \0", strlen(" \0")) != 0) {
- return OPKG_OPK_ERROR;
- }
chksum_got = strtol((char *) header->chksum, &end,
OPKG_OPK_USTAR_NUM_BASE_);