summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-06 01:41:44 +0000
committerjbj <devnull@localhost>2002-08-06 01:41:44 +0000
commit035cf961d56c884708902652175070de31e45a57 (patch)
treeec96dd1cb0965680636c0fe38b0d580537bb0a1a /rpm2cpio.c
parent5211039a20762b4a50c006ccf79666bff34967c2 (diff)
downloadrpm-035cf961d56c884708902652175070de31e45a57.tar.gz
rpm-035cf961d56c884708902652175070de31e45a57.tar.bz2
rpm-035cf961d56c884708902652175070de31e45a57.zip
- add bitmask for precise control of signature/digest verification.
CVS patchset: 5604 CVS date: 2002/08/06 01:41:44
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r--rpm2cpio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c
index ed5282b6f..a57e53cc8 100644
--- a/rpm2cpio.c
+++ b/rpm2cpio.c
@@ -31,13 +31,13 @@ int main(int argc, char **argv)
fdo = fdDup(STDOUT_FILENO);
{ rpmts ts = rpmtsCreate();
- int vsflags = 0;
+ rpmVSFlags vsflags = 0;
/* XXX retain the ageless behavior of rpm2cpio */
- vsflags |= _RPMTS_VSF_NODIGESTS;
- vsflags |= _RPMTS_VSF_NOSIGNATURES;
- vsflags |= _RPMTS_VSF_NOHDRCHK;
- (void) rpmtsSetVerifySigFlags(ts, vsflags);
+ vsflags |= _RPMVSF_NODIGESTS;
+ vsflags |= _RPMVSF_NOSIGNATURES;
+ vsflags |= RPMVSF_NOHDRCHK;
+ (void) rpmtsSetVSFlags(ts, vsflags);
/*@-mustmod@*/ /* LCL: segfault */
rc = rpmReadPackageFile(ts, fdi, "rpm2cpio", &h);