[git] GnuPG - branch, master, updated. gnupg-2.1.2-86-g6619ead

by Werner Koch cvs at cvs.gnupg.org
Wed Apr 8 16:23:18 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  6619ead2cfd2abcb95b66dc70622fdeef624fb8a (commit)
      from  c2383407bba5eefea486464a31e02846124c9da5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6619ead2cfd2abcb95b66dc70622fdeef624fb8a
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Apr 8 15:58:16 2015 +0200

    sm: Fix certificate lookup in dirmngr cache.
    
    * sm/call-dirmngr.c (get_cached_cert): Fix typo in LOOKUP command.
    --
    
    This bug has been here since the code was written.  The commit message
    for commit 2d0ca28a226773b9779a93c39bba9bace13232fe actually had the
    warning that the code has not been tested.  Now the funny thing is
    that when the code was backported to the 2.0 branch just a few minutes
    later that typo was fixed en passant in that branch.

diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c
index 560ea72..8e4841b 100644
--- a/sm/call-dirmngr.c
+++ b/sm/call-dirmngr.c
@@ -823,7 +823,7 @@ get_cached_cert (assuan_context_t ctx,
   *r_cert = NULL;
 
   bin2hex (fpr, 20, hexfpr);
-  snprintf (line, DIM(line)-1, "LOOKUP --signle --cache-only 0x%s", hexfpr);
+  snprintf (line, DIM(line)-1, "LOOKUP --single --cache-only 0x%s", hexfpr);
 
   init_membuf (&mb, 4096);
   err = assuan_transact (ctx, line, get_cached_cert_data_cb, &mb,

-----------------------------------------------------------------------

Summary of changes:
 sm/call-dirmngr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list