diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2017-11-13 15:05:38 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2017-11-13 15:05:38 +0200 |
commit | fad0f4e333f660f746f60db92bd1258938dc86f7 (patch) | |
tree | 6f5f4ac5a8a86545012b7353ee1afb58601130bc /lib/verify.c | |
parent | 3c0bdacc3f9a8e1c34bf64872c82da29e422061b (diff) | |
download | rpm-fad0f4e333f660f746f60db92bd1258938dc86f7.tar.gz |
Split file verify omit mask into a field of its own from qva_flags
Per-file verify flags are their own distinct set of things, splitting
them off makes things clearer and will eliminate need to duplicate stuff.
Diffstat (limited to 'lib/verify.c')
-rw-r--r-- | lib/verify.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/verify.c b/lib/verify.c index a6fd534e5..e6d38af04 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -470,7 +470,6 @@ static int verifyDependencies(rpmts ts, Header h) int showVerifyPackage(QVA_t qva, rpmts ts, Header h) { - rpmVerifyAttrs omitMask = ((qva->qva_flags & VERIFY_ATTRS) ^ VERIFY_ATTRS); int ec = 0; int rc; @@ -479,7 +478,7 @@ int showVerifyPackage(QVA_t qva, rpmts ts, Header h) ec = rc; } if (qva->qva_flags & VERIFY_FILES) { - if ((rc = verifyHeader(ts, h, omitMask, + if ((rc = verifyHeader(ts, h, qva->qva_ofvattr, qva->qva_incattr, qva->qva_excattr)) != 0) ec = rc; } |