- This makes a huge difference in performance if you have lots
of unsigned packages (NOTFOUND verify result) or signed packages
without key (NOKEY verify result) installed, as we previously
kept checking the same headers over and over again.
msg = _free(msg);
/* Mark header checked. */
- if (mi->mi_db && mi->mi_db->db_checked && rpmrc == RPMRC_OK) {
+ if (mi->mi_db && mi->mi_db->db_checked && rpmrc != RPMRC_FAIL) {
intHashAddEntry(mi->mi_db->db_checked, mi->mi_offset);
}
}