* getkey.c (get_pubkey_byname): Fix missing auto_key_retrieve unlock.
authorDavid Shaw <dshaw@jabberwocky.com>
Sat, 1 Apr 2006 02:47:53 +0000 (02:47 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Sat, 1 Apr 2006 02:47:53 +0000 (02:47 +0000)
Fix strings to not start with a capital letter as per convention.

g10/ChangeLog
g10/getkey.c

index 750c1b3..ab03a2a 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-31  David Shaw  <dshaw@jabberwocky.com>
+
+       * getkey.c (get_pubkey_byname): Fix missing auto_key_retrieve
+       unlock.  Fix strings to not start with a capital letter as per
+       convention.
+
 2006-03-30  David Shaw  <dshaw@jabberwocky.com>
 
        * main.h, seskey.c (encode_md_value): Modify to allow a q size
index 1c85fb4..42e2927 100644 (file)
@@ -932,16 +932,17 @@ get_pubkey_byname (PKT_public_key *pk,
              glo_ctrl.in_auto_key_retrieve--;
 
              if(rc==0)
-               log_info(_("Automatically retrieved `%s' via %s\n"),
+               log_info(_("automatically retrieved `%s' via %s\n"),
                         name,"DNS CERT");
              break;
 
            case AKL_PKA:
              glo_ctrl.in_auto_key_retrieve++;
              rc=keyserver_import_pka(name,&fpr,&fpr_len);
+             glo_ctrl.in_auto_key_retrieve--;
 
              if(rc==0)
-               log_info(_("Automatically retrieved `%s' via %s\n"),
+               log_info(_("automatically retrieved `%s' via %s\n"),
                         name,"PKA");
              break;
 
@@ -951,7 +952,7 @@ get_pubkey_byname (PKT_public_key *pk,
              glo_ctrl.in_auto_key_retrieve--;
 
              if(rc==0)
-               log_info(_("Automatically retrieved `%s' via %s\n"),
+               log_info(_("automatically retrieved `%s' via %s\n"),
                         name,"LDAP");
              break;
 
@@ -967,7 +968,7 @@ get_pubkey_byname (PKT_public_key *pk,
                  glo_ctrl.in_auto_key_retrieve--;
 
                  if(rc==0)
-                   log_info(_("Automatically retrieved `%s' via %s\n"),
+                   log_info(_("automatically retrieved `%s' via %s\n"),
                             name,opt.keyserver->uri);
                }
              break;
@@ -982,7 +983,7 @@ get_pubkey_byname (PKT_public_key *pk,
                glo_ctrl.in_auto_key_retrieve--;
 
                if(rc==0)
-                 log_info(_("Automatically retrieved `%s' via %s\n"),
+                 log_info(_("automatically retrieved `%s' via %s\n"),
                           name,akl->spec->uri);
              }
              break;