aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-10-04 10:03:11 +0000
committerWerner Koch <[email protected]>2024-10-04 10:24:00 +0000
commitf8f6c6c7616662a6748d0a9cc19532d48e502d62 (patch)
tree4d7c549d90275043b9e5104147737084d37cf22a /sm/gpgsm.c
parentgpgsm: Implement a cache for the KEYINFO queries. (diff)
downloadgnupg-f8f6c6c7616662a6748d0a9cc19532d48e502d62.tar.gz
gnupg-f8f6c6c7616662a6748d0a9cc19532d48e502d62.zip
gpgsm: Add compatibility flag no-keyinfo-cache
* sm/gpgsm.c (compatibility_flags): Add flag. * sm/gpgsm.h (COMPAT_NO_KEYINFO_CACHE): New. * sm/call-agent.c (gpgsm_agent_istrusted): Act upon it. (gpgsm_agent_keyinfo): Ditto.
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r--sm/gpgsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index c108da58c..26b05773c 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -501,6 +501,7 @@ static struct compatibility_flags_s compatibility_flags [] =
{
{ COMPAT_ALLOW_KA_TO_ENCR, "allow-ka-to-encr" },
{ COMPAT_NO_CHAIN_CACHE, "no-chain-cache" },
+ { COMPAT_NO_KEYINFO_CACHE, "no-keyinfo-cache" },
{ 0, NULL }
};