Purge rpmdb header verification cache on added pubkeys
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 30 Nov 2011 11:32:56 +0000 (13:32 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 30 Nov 2011 11:32:56 +0000 (13:32 +0200)
commit570526b4bace8a3b6e2e96c424adef1f930bc4a1
tree35361b907091813b44869b12098b5fc470fc147d
parent2759c91b4c608f77e1524cef4de033d2253b7ee0
Purge rpmdb header verification cache on added pubkeys

- When new keys are added, any previous NOKEY results can become
  invalid: either they become OK or FAIL, and its the FAIL case
  we want to catch.
- For removed keys, previous OK could become NOKEY but that doesn't
  make the header any less valid, so leave the cache alone on removal.
lib/rpmdb.c