aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-10-14 14:46:27 +0000
committerWerner Koch <[email protected]>2024-10-14 14:48:37 +0000
commitf8b1b7b4df86de86c28721aef2b2b70b79c6df91 (patch)
treefe3563ffededbfd23477768b815e54e408b74006 /dirmngr
parentbuild: Use AC_C_BIGENDIAN for detecting endian. (diff)
downloadgnupg-f8b1b7b4df86de86c28721aef2b2b70b79c6df91.tar.gz
gnupg-f8b1b7b4df86de86c28721aef2b2b70b79c6df91.zip
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
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/crlcache.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c
index d3fe5c272..824775483 100644
--- a/dirmngr/crlcache.c
+++ b/dirmngr/crlcache.c
@@ -2646,6 +2646,11 @@ crl_cache_list (estream_t fp)
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 )
err = list_one_crl_entry (cache, entry, fp);