diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2018-06-27 13:29:36 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2018-06-27 14:49:39 +0300 |
commit | f9f85af2d3a73a31ee099c6da809be8ebdeb2dc3 (patch) | |
tree | a972ddfccf15bdd3cf3efb27b27fbe297bd80736 /lib/rpmts_internal.h | |
parent | 60cbee157611875357d053f7fcdcb973c9625589 (diff) | |
download | rpm-f9f85af2d3a73a31ee099c6da809be8ebdeb2dc3.tar.gz |
Add a public API for controlling package verification flags
We can't use the existing transaction vsflags for package verification
purposes due to legacy misuses and fundamental differences - vsflags
defaults are very different and change can't really be relied on as
this is all tangled up in legacy issues, misuses and misunderstandings
in 3rd party code and whatnot. I dont see a way to unify them in
foreseeable future, unfortunately. So add another API...
Rename _vsflags_pkgverify to _pkgverify_flags to differentiate it from
the other vsflags (because it is different), add get/set API for it in
transaction sets and use where immediately obvious (but there's
the rpm cli install case left to deal with)
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r-- | lib/rpmts_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h index 2b831c697..8105b19a6 100644 --- a/lib/rpmts_internal.h +++ b/lib/rpmts_internal.h @@ -71,6 +71,7 @@ struct rpmts_s { rpm_color_t prefcolor; /*!< Preferred file color. */ rpmVSFlags vsflags; /*!< Signature/digest verification flags. */ + rpmVSFlags vfyflags; /*!< Package verification flags */ int vfylevel; /*!< Package verification level */ rpmKeyring keyring; /*!< Keyring in use. */ |