From ebb2e36cc4c40d11689a44a2503df40fa96e8fc1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 11 Aug 2011 20:15:15 -0500 Subject: Load and allow access to sha256sum This adds a field in the package struct for this checksum type as well as allowing access via the API to it. The frontend is now able to display any read value. Note that this does not implement any use or verification of the value internally. Signed-off-by: Dan McGee --- src/pacman/package.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/pacman/package.c b/src/pacman/package.c index 27b691e2..33ccbd41 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -135,6 +135,7 @@ void dump_pkg_full(alpm_pkg_t *pkg, enum pkg_from from, int extra) if(from == PKG_FROM_SYNCDB) { string_display(_("MD5 Sum :"), alpm_pkg_get_md5sum(pkg)); + string_display(_("SHA256 Sum :"), alpm_pkg_get_sha256sum(pkg)); string_display(_("Signatures :"), alpm_pkg_get_base64_sig(pkg) ? _("Yes") : _("No")); } if(from == PKG_FROM_FILE) { -- cgit v1.2.3-24-g4f1b