index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-08-11 20:16:42 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-15 12:13:35 -0500 |
commit | bd5ec9cd8e23bba4334a7b3a5a73843c3667c085 (patch) | |
tree | 76e6018d88a861a5cc16729d8274b3ceab7e3ccb /lib/libalpm/package.c | |
parent | f37c5016572fecb16cc53d5e3fdd059944e36359 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 22b5d575..a8dc1440 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -69,7 +69,7 @@ int SYMEXPORT alpm_pkg_checkmd5sum(alpm_pkg_t *pkg) fpath = _alpm_filecache_find(pkg->handle, alpm_pkg_get_filename(pkg)); - retval = _alpm_test_md5sum(fpath, alpm_pkg_get_md5sum(pkg)); + retval = _alpm_test_checksum(fpath, pkg->md5sum, ALPM_CSUM_MD5); if(retval == 0) { return 0; |