Change rpmts keyring get/set interface to more transparent handling
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 2 Jul 2008 12:08:51 +0000 (15:08 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 2 Jul 2008 12:08:51 +0000 (15:08 +0300)
commit83e894db7841dd4e751d785a88e49e4ae5894624
treea174fb9264cc01352ba71fe621d961f58d30889a
parent43a05ea36331a3463efd33e3a6cbbc3d723f36e5
Change rpmts keyring get/set interface to more transparent handling
- add extra parameter to rpmtsGetKeyring() to automatically load up default
  keyring if not already set
- rpmtsSetKeyring() with NULL keyring just frees up current keyring
- adjust callers wrt the change
- allows more transparent action for various "legacy" code-paths
lib/package.c
lib/rpmchecksig.c
lib/rpmts.c
lib/rpmts.h