summaryrefslogtreecommitdiff
path: root/lib/signature.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-05-19 18:42:25 +0000
committerjbj <devnull@localhost>2002-05-19 18:42:25 +0000
commit2126e4ad09e175a4356a29ab03756dbbeb8c976f (patch)
treee16e86b43a42c9c7fda695b04189afc1d551661b /lib/signature.c
parent38385c8d6323e3695e0b267ab7b2fcffff9f72b3 (diff)
downloadlibrpm-tizen-2126e4ad09e175a4356a29ab03756dbbeb8c976f.tar.gz
librpm-tizen-2126e4ad09e175a4356a29ab03756dbbeb8c976f.tar.bz2
librpm-tizen-2126e4ad09e175a4356a29ab03756dbbeb8c976f.zip
- Grand Renaming of rpm data types.
CVS patchset: 5439 CVS date: 2002/05/19 18:42:25
Diffstat (limited to 'lib/signature.c')
-rw-r--r--lib/signature.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/signature.c b/lib/signature.c
index f6754b86e..fa9c896a6 100644
--- a/lib/signature.c
+++ b/lib/signature.c
@@ -8,6 +8,7 @@
#include <rpmlib.h>
#include <rpmmacro.h> /* XXX for rpmGetPath() */
#include "rpmdb.h"
+#include "rpmps.h"
#include "rpmts.h"
@@ -17,7 +18,7 @@
#include "signature.h"
#include "debug.h"
-/*@access rpmTransactionSet@*/
+/*@access rpmts @*/
/*@access Header@*/ /* XXX compared with NULL */
/*@access FD_t@*/ /* XXX compared with NULL */
/*@access DIGEST_CTX@*/ /* XXX compared with NULL */
@@ -790,7 +791,7 @@ static /*@observer@*/ const char * rpmSigString(rpmVerifySignatureReturn res)
}
static rpmVerifySignatureReturn
-verifySizeSignature(const rpmTransactionSet ts, /*@out@*/ char * t)
+verifySizeSignature(const rpmts ts, /*@out@*/ char * t)
/*@modifies *t @*/
{
rpmVerifySignatureReturn res;
@@ -824,7 +825,7 @@ exit:
}
static rpmVerifySignatureReturn
-verifyMD5Signature(const rpmTransactionSet ts, /*@out@*/ char * t,
+verifyMD5Signature(const rpmts ts, /*@out@*/ char * t,
/*@null@*/ DIGEST_CTX md5ctx)
/*@modifies *t @*/
{
@@ -874,7 +875,7 @@ exit:
* @return RPMSIG_OK on success
*/
static rpmVerifySignatureReturn
-verifySHA1Signature(const rpmTransactionSet ts, /*@out@*/ char * t,
+verifySHA1Signature(const rpmts ts, /*@out@*/ char * t,
/*@null@*/ DIGEST_CTX sha1ctx)
/*@modifies *t @*/
{
@@ -920,7 +921,7 @@ exit:
* @return RPMSIG_OK on success, RPMSIG_NOKEY if not found
*/
static rpmVerifySignatureReturn
-rpmtsFindPubkey(rpmTransactionSet ts)
+rpmtsFindPubkey(rpmts ts)
/*@globals fileSystem, internalState @*/
/*@modifies ts, fileSystem, internalState */
{
@@ -1058,7 +1059,7 @@ static inline unsigned char nibble(char c)
* @return RPMSIG_OK on success
*/
static rpmVerifySignatureReturn
-verifyPGPSignature(rpmTransactionSet ts, /*@out@*/ char * t,
+verifyPGPSignature(rpmts ts, /*@out@*/ char * t,
/*@null@*/ DIGEST_CTX md5ctx)
/*@globals fileSystem, internalState @*/
/*@modifies ts, *t, fileSystem, internalState */
@@ -1167,7 +1168,7 @@ exit:
* @return RPMSIG_OK on success
*/
static rpmVerifySignatureReturn
-verifyGPGSignature(rpmTransactionSet ts, /*@out@*/ char * t,
+verifyGPGSignature(rpmts ts, /*@out@*/ char * t,
/*@null@*/ DIGEST_CTX sha1ctx)
/*@globals fileSystem, internalState @*/
/*@modifies ts, *t, fileSystem, internalState */
@@ -1249,7 +1250,7 @@ exit:
}
rpmVerifySignatureReturn
-rpmVerifySignature(const rpmTransactionSet ts, char * result)
+rpmVerifySignature(const rpmts ts, char * result)
{
rpmVerifySignatureReturn res;