summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-02-20 14:24:35 +1000
committerDan McGee <dan@archlinux.org>2012-03-08 17:59:13 -0600
commit4773c6b66ef618f4c6345a99d9c246045e9c723b (patch)
tree6e3ccb31e84b8e5e3799a030eb4664c193633b03 /lib/libalpm/package.c
parent5c404268d965d9ca012e4819ac0c2f289a4c768c (diff)
downloadpacman-4773c6b66ef618f4c6345a99d9c246045e9c723b.tar.xz
Remove _alpm_csum
The enum alpm_pkgvalidation_t is essentially a more generic version of _alpm_csum, so use it instead. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index dbf0d928..6b648675 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -67,7 +67,7 @@ int SYMEXPORT alpm_pkg_checkmd5sum(alpm_pkg_t *pkg)
fpath = _alpm_filecache_find(pkg->handle, pkg->filename);
- retval = _alpm_test_checksum(fpath, pkg->md5sum, ALPM_CSUM_MD5);
+ retval = _alpm_test_checksum(fpath, pkg->md5sum, ALPM_PKG_VALIDATION_MD5SUM);
if(retval == 0) {
return 0;