diff options
author | Reid Rankin <reidrankin@gmail.com> | 2020-01-24 14:56:53 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-01-25 16:33:17 +0200 |
commit | 6cc3e6a1dee8cf7c80ef59b2d23a0e5980af7fe9 (patch) | |
tree | 6fb08c9114731cfd14ff36658334396b3a4bafe3 | |
parent | 9a76f0d6a6f3deabeba72f4fb2788bd45f929a8a (diff) | |
download | apk-tools-6cc3e6a1dee8cf7c80ef59b2d23a0e5980af7fe9.tar.gz apk-tools-6cc3e6a1dee8cf7c80ef59b2d23a0e5980af7fe9.tar.bz2 apk-tools-6cc3e6a1dee8cf7c80ef59b2d23a0e5980af7fe9.tar.xz apk-tools-6cc3e6a1dee8cf7c80ef59b2d23a0e5980af7fe9.zip |
don't ignore md parameter to apk_fileinfo_hash_xattr_array()
-rw-r--r-- | src/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -649,7 +649,7 @@ void apk_fileinfo_hash_xattr_array(struct apk_xattr_array *xattrs, const EVP_MD qsort(xattrs->item, xattrs->num, sizeof(xattrs->item[0]), cmp_xattr); - EVP_DigestInit_ex(mdctx, EVP_sha1(), NULL); + EVP_DigestInit_ex(mdctx, md, NULL); foreach_array_item(xattr, xattrs) { hash_len_data(mdctx, strlen(xattr->name), xattr->name); hash_len_data(mdctx, xattr->value.len, xattr->value.ptr); |