summaryrefslogtreecommitdiff
path: root/lib/rpmlib.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-14 17:09:50 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-30 15:16:32 +0300
commit5c08f55432f9fdc5df7b7bc6ca52b02c68e69dc7 (patch)
treeb6254f175a1bdf88b487a04f42003a4524db1622 /lib/rpmlib.h
parentd51023569e2595cfcc76204b4e2a2cb6ba56b4f6 (diff)
downloadlibrpm-tizen-5c08f55432f9fdc5df7b7bc6ca52b02c68e69dc7.tar.gz
librpm-tizen-5c08f55432f9fdc5df7b7bc6ca52b02c68e69dc7.tar.bz2
librpm-tizen-5c08f55432f9fdc5df7b7bc6ca52b02c68e69dc7.zip
Detach signature tag data from transaction set
- pass signature tag data around as argument to rpmVerifySignature() as needed - eliminate the related API from rpmts
Diffstat (limited to 'lib/rpmlib.h')
-rw-r--r--lib/rpmlib.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index 650b15500..b76f86a23 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -233,17 +233,15 @@ int rpmGetFilesystemUsage(const char ** fileList, rpm_loff_t * fssizes,
* Verify a signature from a package.
*
* This needs the following variables from the transaction set:
- * - ts->sigtag type of signature
- * - ts->sig signature itself (from signature header)
- * - ts->siglen no. of bytes in signature
* - ts->dig signature/pubkey parameters (malloc'd workspace)
*
* @param ts transaction set
+ * @param sigtd signature tag data container
* @retval result detailed text result of signature verification
* (malloc'd)
* @return result of signature verification
*/
-rpmRC rpmVerifySignature(const rpmts ts, char ** result);
+rpmRC rpmVerifySignature(const rpmts ts, rpmtd sigtd, char ** result);
/** \ingroup signature
* Destroy signature header from package.