diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-06-25 11:17:17 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-30 15:16:32 +0300 |
commit | 38b401a98986b8f627a9b0b9c3ca94b403e962b0 (patch) | |
tree | cfeb9f1ffad836655af1331a277438db8c7f233c /lib/rpmlib.h | |
parent | 884714d326af946a06c1e690afe55e95fb351fff (diff) | |
download | rpm-38b401a98986b8f627a9b0b9c3ca94b403e962b0.tar.gz rpm-38b401a98986b8f627a9b0b9c3ca94b403e962b0.tar.bz2 rpm-38b401a98986b8f627a9b0b9c3ca94b403e962b0.zip |
Detach pgp digest from transaction set
- pass the pgp container around as argument as needed
- eliminate the related API from rpmts
Diffstat (limited to 'lib/rpmlib.h')
-rw-r--r-- | lib/rpmlib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h index b76f86a23..52d8d349e 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -14,6 +14,7 @@ #include <rpm/header.h> #include <rpm/rpmtag.h> #include <rpm/rpmds.h> /* XXX move rpmlib provides to rpmds instead */ +#include <rpm/rpmpgp.h> #ifdef __cplusplus extern "C" { @@ -232,16 +233,14 @@ int rpmGetFilesystemUsage(const char ** fileList, rpm_loff_t * fssizes, /** \ingroup signature * Verify a signature from a package. * - * This needs the following variables from the transaction set: - * - ts->dig signature/pubkey parameters (malloc'd workspace) - * * @param ts transaction set * @param sigtd signature tag data container + * @param dig signature/pubkey parameters * @retval result detailed text result of signature verification * (malloc'd) * @return result of signature verification */ -rpmRC rpmVerifySignature(const rpmts ts, rpmtd sigtd, char ** result); +rpmRC rpmVerifySignature(const rpmts ts, rpmtd sigtd, pgpDig dig, char ** result); /** \ingroup signature * Destroy signature header from package. |