From 17073c9abcfb0546e40f3fa6af655c87305f71b5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 31 Aug 2022 18:11:36 +0200 Subject: 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. --- dirmngr/dirmngr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dirmngr/dirmngr.h') 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; -- cgit v1.2.3