aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/dpkg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index b36c26198..07f01501b 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -1524,8 +1524,8 @@ static char FAST_FUNC filter_rename_config(archive_handle_t *archive_handle)
1524 buf = xmalloc(4096); 1524 buf = xmalloc(4096);
1525 md5_begin(&md5); 1525 md5_begin(&md5);
1526 while ((count = safe_read(fd, buf, 4096)) > 0) 1526 while ((count = safe_read(fd, buf, 4096)) > 0)
1527 md5_hash(buf, count, &md5); 1527 md5_hash(&md5, buf, count);
1528 md5_end(buf, &md5); /* using buf as result storage */ 1528 md5_end(&md5, buf); /* using buf as result storage */
1529 close(fd); 1529 close(fd);
1530 1530
1531 md5line = xmalloc(16 * 2 + 2 + strlen(name_ptr) + 1); 1531 md5line = xmalloc(16 * 2 + 2 + strlen(name_ptr) + 1);