Refactor ts out of the main signature checking worker
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 22 Apr 2009 11:58:10 +0000 (14:58 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 22 Apr 2009 11:58:10 +0000 (14:58 +0300)
commit8f755140c31fec7106b86a3aaeb550baf2535fae
tree1ea5080cef336fe621ace30e343f0f96418c763f
parent7f1f837877173552227a682e3ff63e9cce7b4166
Refactor ts out of the main signature checking worker
- Add lower level rpmpkgVerifySigs() function which does the real work,
  ts and full qva isn't needed there, just keyring and flags what to verify.
  Static only for now, but this is the kind of interface we'll want to
  export eventually.
- rpmVerifySignatures() is now just a API-compatibility wrapper.
- Use rpmpkgVerifySigs() instead of rpmVerifySignatures() in rpmcliSign()
  verify loop so we only retrieve keyring once.
lib/rpmchecksig.c