summaryrefslogtreecommitdiff
path: root/src/archive.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-08-11 19:02:22 +0300
committerTimo Teras <timo.teras@iki.fi>2009-08-11 19:02:22 +0300
commitaddae04c266401cf049f1188917bf3432873933c (patch)
treee2469e26d79fa4b8828d95271fe1e740559019e3 /src/archive.c
parent949d375aa9c9a7fe9cec85740df9de296fab095f (diff)
downloadapk-tools-addae04c266401cf049f1188917bf3432873933c.tar.gz
apk-tools-addae04c266401cf049f1188917bf3432873933c.tar.bz2
apk-tools-addae04c266401cf049f1188917bf3432873933c.tar.xz
apk-tools-addae04c266401cf049f1188917bf3432873933c.zip
db, audit: audit symlinks (by hash of the link target)
Diffstat (limited to 'src/archive.c')
-rw-r--r--src/archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive.c b/src/archive.c
index 8ace1e1..de141b6 100644
--- a/src/archive.c
+++ b/src/archive.c
@@ -205,7 +205,7 @@ int apk_tar_parse(struct apk_istream *is, apk_archive_entry_parser parser,
/* callback parser function */
if (teis.csum != NULL)
EVP_DigestInit_ex(&teis.mdctx,
- apk_default_checksum(), NULL);
+ apk_checksum_default(), NULL);
r = parser(ctx, &entry, &teis.is);
free(entry.name);