[Pkg-gnupg-commit] [gnupg2] 116/124: dirmngr, w32: Silence the 'certificate already cached' message.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 5 15:55:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit fce36d7ec87be14b874813db277781c87a64ea87
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Apr 3 20:34:13 2017 +0200

    dirmngr,w32: Silence the 'certificate already cached' message.
    
    * dirmngr/certcache.c (load_certs_from_w32_store): Silenece an info
    message.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 dirmngr/certcache.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dirmngr/certcache.c b/dirmngr/certcache.c
index 3284ff2..c3f3427 100644
--- a/dirmngr/certcache.c
+++ b/dirmngr/certcache.c
@@ -612,7 +612,10 @@ load_certs_from_w32_store (const char *storename)
           if (!err)
             count++;
           if (gpg_err_code (err) == GPG_ERR_DUP_VALUE)
-            log_info (_("certificate '%s' already cached\n"), storename);
+            {
+              if (DBG_X509)
+                log_debug (_("certificate '%s' already cached\n"), storename);
+            }
           else if (err)
             log_error (_("error loading certificate '%s': %s\n"),
                        storename, gpg_strerror (err));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list