aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-08-31 16:11:36 +0000
committerWerner Koch <[email protected]>2022-08-31 16:11:36 +0000
commit17073c9abcfb0546e40f3fa6af655c87305f71b5 (patch)
tree2d44dd1b106fd63ee4065929b0e76b4ff9dad96d /dirmngr/dirmngr.h
parentdirmngr: Reject certificate which is not valid into cache. (diff)
downloadgnupg-17073c9abcfb0546e40f3fa6af655c87305f71b5.tar.gz
gnupg-17073c9abcfb0546e40f3fa6af655c87305f71b5.zip
dirmngr: New option --debug-cache-expired-certs.
* dirmngr/dirmngr.h (opt): Add debug_cache_expired_certs: * dirmngr/dirmngr.c (oDebugCacheExpiredCerts): New. (opts): Add option. (parse_rereadable_options): Set option. * dirmngr/certcache.c (put_cert): Handle the option.
Diffstat (limited to 'dirmngr/dirmngr.h')
-rw-r--r--dirmngr/dirmngr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dirmngr/dirmngr.h b/dirmngr/dirmngr.h
index 8dc39f12c..d916cce5f 100644
--- a/dirmngr/dirmngr.h
+++ b/dirmngr/dirmngr.h
@@ -129,6 +129,9 @@ struct
OID per string. */
strlist_t ignored_cert_extensions;
+ /* Allow expired certificates in the cache. */
+ int debug_cache_expired_certs;
+
int allow_ocsp; /* Allow using OCSP. */
int max_replies;