diff options
author | Werner Koch <[email protected]> | 2024-10-04 10:03:11 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-10-04 10:24:00 +0000 |
commit | f8f6c6c7616662a6748d0a9cc19532d48e502d62 (patch) | |
tree | 4d7c549d90275043b9e5104147737084d37cf22a /sm/gpgsm.h | |
parent | gpgsm: Implement a cache for the KEYINFO queries. (diff) | |
download | gnupg-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.h')
-rw-r--r-- | sm/gpgsm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h index 142e7bb94..916d0235c 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -223,6 +223,8 @@ struct /* Not actually a compatibiliy flag but useful to limit the * required memory for a validated key listing. */ #define COMPAT_NO_CHAIN_CACHE 2 +/* Ditto. But here to disable the keyinfo and istrusted cache. */ +#define COMPAT_NO_KEYINFO_CACHE 4 /* Forward declaration for an object defined in server.c */ struct server_local_s; |