Actually read PGPSIG field in sync DB code

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-03-23 03:05:45 -05:00
parent f7b577dc77
commit 39ce9b3afc

View file

@ -421,6 +421,8 @@ static int sync_db_read(pmdb_t *db, struct archive *archive,
} else if(strcmp(line, "%SHA256SUM%") == 0) { } else if(strcmp(line, "%SHA256SUM%") == 0) {
/* we don't do anything with this value right now */ /* we don't do anything with this value right now */
READ_NEXT(line); READ_NEXT(line);
} else if(strcmp(line, "%PGPSIG%") == 0) {
READ_AND_STORE(pkg->pgpsig.encdata);
} else if(strcmp(line, "%REPLACES%") == 0) { } else if(strcmp(line, "%REPLACES%") == 0) {
READ_AND_STORE_ALL(pkg->replaces); READ_AND_STORE_ALL(pkg->replaces);
} else if(strcmp(line, "%DEPENDS%") == 0) { } else if(strcmp(line, "%DEPENDS%") == 0) {