diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-08-11 19:57:30 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-08-11 19:57:30 +0300 |
commit | bd9835a20ee6b191c844ebba0433e5d321c976f4 (patch) | |
tree | 2567500ab2b8584ac07409e22eb8a9765a9b1bdc /src/database.c | |
parent | addae04c266401cf049f1188917bf3432873933c (diff) | |
download | apk-tools-bd9835a20ee6b191c844ebba0433e5d321c976f4.tar.gz apk-tools-bd9835a20ee6b191c844ebba0433e5d321c976f4.tar.bz2 apk-tools-bd9835a20ee6b191c844ebba0433e5d321c976f4.tar.xz apk-tools-bd9835a20ee6b191c844ebba0433e5d321c976f4.zip |
archive: update for new place of checksum in tar header
and take checksums for symlinks too.
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/database.c b/src/database.c index 0348ef5..cafa47f 100644 --- a/src/database.c +++ b/src/database.c @@ -1567,16 +1567,6 @@ static int apk_db_install_archive_entry(void *_ctx, struct apk_db_dir_instance *ldiri; struct hlist_node *n; - if (S_ISLNK(ae->mode)) { - EVP_Digest(ae->link_target, - strlen(ae->link_target), - file->csum.data, NULL, - apk_checksum_default(), - NULL); - file->csum.type = APK_CHECKSUM_DEFAULT; - break; - } - if (!apk_blob_rsplit(APK_BLOB_STR(ae->link_target), '/', &bdir, &bfile)) break; |