summaryrefslogtreecommitdiff
path: root/rpmqv.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 /rpmqv.c
parent5211039a20762b4a50c006ccf79666bff34967c2 (diff)
downloadlibrpm-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 'rpmqv.c')
-rwxr-xr-xrpmqv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpmqv.c b/rpmqv.c
index d326808db..bab810fdb 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -623,9 +623,10 @@ int main(int argc, const char ** argv)
break;
case MODE_REBUILDDB:
- { int vsflags = rpmExpandNumeric("%{_vsflags_rebuilddb}");
- (void)rpmtsSetVerifySigFlags(ts, (vsflags & ~_RPMTS_VSF_VERIFY_LEGACY));
+ { rpmVSFlags vsflags = rpmExpandNumeric("%{_vsflags_rebuilddb}");
+ rpmVSFlags ovsflags = rpmtsSetVSFlags(ts, vsflags);
ec = rpmtsRebuildDB(ts);
+ vsflags = rpmtsSetVSFlags(ts, ovsflags);
} break;
case MODE_VERIFYDB:
ec = rpmtsVerifyDB(ts);