From f8b1b7b4df86de86c28721aef2b2b70b79c6df91 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 14 Oct 2024 16:46:27 +0200 Subject: dirmngr: Print a brief list of URLs with LISTCRLS. * dirmngr/crlcache.c (crl_cache_list): Print a summary of URLs. * sm/call-dirmngr.c (gpgsm_dirmngr_run_command): Print a notice to stdout if the dirmngr has been disabled. -- GnuPG-bug-id: 7337 --- dirmngr/crlcache.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dirmngr') diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c index d3fe5c272..824775483 100644 --- a/dirmngr/crlcache.c +++ b/dirmngr/crlcache.c @@ -2645,6 +2645,11 @@ crl_cache_list (estream_t fp) crl_cache_entry_t entry; gpg_error_t err = 0; + for (entry = cache->entries; + entry && !entry->deleted; + entry = entry->next ) + es_fprintf (fp, "URL: %s\n", entry->url ); + for (entry = cache->entries; entry && !entry->deleted && !err; entry = entry->next ) -- cgit v1.2.3