summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 03:05:45 -0500
committerDan McGee <dan@archlinux.org>2011-03-23 03:07:08 -0500
commit39ce9b3afc6a544c2a5137bb58012d32723096e3 (patch)
tree24bb3c49670048b4f57acd8ba9e79df3b8fb5200 /lib/libalpm
parentf7b577dc77667d8b7dc346e9754d9b203cc8068d (diff)
downloadpacman-39ce9b3afc6a544c2a5137bb58012d32723096e3.tar.xz
Actually read PGPSIG field in sync DB code
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/be_sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index 9ca52de3..5eec8a73 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -421,6 +421,8 @@ static int sync_db_read(pmdb_t *db, struct archive *archive,
} else if(strcmp(line, "%SHA256SUM%") == 0) {
/* we don't do anything with this value right now */
READ_NEXT(line);
+ } else if(strcmp(line, "%PGPSIG%") == 0) {
+ READ_AND_STORE(pkg->pgpsig.encdata);
} else if(strcmp(line, "%REPLACES%") == 0) {
READ_AND_STORE_ALL(pkg->replaces);
} else if(strcmp(line, "%DEPENDS%") == 0) {