dirmngr,w32: Silence the 'certificate already cached' message.
authorWerner Koch <wk@gnupg.org>
Mon, 3 Apr 2017 18:34:13 +0000 (20:34 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 3 Apr 2017 18:34:21 +0000 (20:34 +0200)
* dirmngr/certcache.c (load_certs_from_w32_store): Silenece an info
message.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/certcache.c

index 3284ff2..c3f3427 100644 (file)
@@ -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));