diff options
author | jbj <devnull@localhost> | 2002-08-06 01:41:44 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-08-06 01:41:44 +0000 |
commit | 035cf961d56c884708902652175070de31e45a57 (patch) | |
tree | ec96dd1cb0965680636c0fe38b0d580537bb0a1a /rpm2cpio.c | |
parent | 5211039a20762b4a50c006ccf79666bff34967c2 (diff) | |
download | librpm-tizen-035cf961d56c884708902652175070de31e45a57.tar.gz librpm-tizen-035cf961d56c884708902652175070de31e45a57.tar.bz2 librpm-tizen-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.c | 10 |
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); |