diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2017-11-13 15:57:42 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2017-11-13 15:57:42 +0200 |
commit | a6321cca0cdaa7b31a68176268530cb35371c3c5 (patch) | |
tree | ea02de0431967b409cb0ded00ee77b274159ed91 /lib/verify.c | |
parent | 441693805984c6769f7b9380e0264db2583c2458 (diff) | |
download | rpm-a6321cca0cdaa7b31a68176268530cb35371c3c5.tar.gz |
Eliminate deprecated and unused rpmVerifyFile()
I doubt it was ever used outside rpm itself so probably nobody notices,
in any case it's trivial to port to the new APIs instead.
Diffstat (limited to 'lib/verify.c')
-rw-r--r-- | lib/verify.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/verify.c b/lib/verify.c index e6d38af04..47f0d8efc 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -242,16 +242,6 @@ exit: return vfy; } -int rpmVerifyFile(const rpmts ts, const rpmfi fi, - rpmVerifyAttrs * res, rpmVerifyAttrs omitMask) -{ - rpmVerifyAttrs vfy = rpmfiVerify(fi, omitMask); - if (res) - *res = vfy; - - return (vfy & RPMVERIFY_LSTATFAIL) ? 1 : 0; -} - /** * Return exit code from running verify script from header. * @param ts transaction set |