diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2022-03-18 13:31:31 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2022-03-31 09:56:03 +0300 |
commit | 3e4c0a95d3c2c8c500fdfd07db5408ac44dde50c (patch) | |
tree | 8c77bc58e810b5b08306e4c9c51c62ec484c296f /lib/rpmts_internal.h | |
parent | 8948ec79f6c300e91319469ba72b9bd3480fe686 (diff) | |
download | rpm-3e4c0a95d3c2c8c500fdfd07db5408ac44dde50c.tar.gz |
Remember used keyring type in the transaction set
The keyring a transaction uses shouldn't change by somebody defining
macro in the meanwhile. Add an enum for known types and a helper to
lazily determine it on the first keyring load.
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 fc6e15883..6bd11a5fc 100644 --- a/lib/rpmts_internal.h +++ b/lib/rpmts_internal.h @@ -78,6 +78,7 @@ struct rpmts_s { rpmVSFlags vfyflags; /*!< Package verification flags */ int vfylevel; /*!< Package verification level */ rpmKeyring keyring; /*!< Keyring in use. */ + int keyringtype; /*!< Keyring type */ ARGV_t netsharedPaths; /*!< From %{_netsharedpath} */ ARGV_t installLangs; /*!< From %{_install_langs} */ |