Some keyring improvements
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 2 Jul 2008 10:31:12 +0000 (13:31 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 2 Jul 2008 10:31:12 +0000 (13:31 +0300)
commitcea83865c944d378d3aa8632c81a68c3d669b4db
treeb29664b6ec670562cd6df3228e9672dbbadba643
parent396ca4694710ca5a1e4ac799f1c68bb0c788b7d8
Some keyring improvements
- keep keyring sorted by keyid, use bsearch for key lookups
- check for key in keyring before adding it to avoid dupes
- actually check that pubkey parameters match the signature on keyring
  lookup like was done in rpmtsFindPubkey()
rpmio/rpmkeyring.c