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 /rpmqv.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 'rpmqv.c')
-rwxr-xr-x | rpmqv.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |