From 035cf961d56c884708902652175070de31e45a57 Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 6 Aug 2002 01:41:44 +0000 Subject: - add bitmask for precise control of signature/digest verification. CVS patchset: 5604 CVS date: 2002/08/06 01:41:44 --- rpm2cpio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rpm2cpio.c') 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); -- cgit v1.2.3