[git] GnuPG - branch, STABLE-BRANCH-1-4, updated. gnupg-1.4.12-22-g09dd073

by NIIBE Yutaka cvs at cvs.gnupg.org
Thu Dec 13 17:31:11 CET 2012


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, STABLE-BRANCH-1-4 has been updated
       via  09dd073096439f6ae0122e57321201f79045d3bc (commit)
      from  e71dbf244a2b6e7edcca37ac9544000f0629de0e (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 09dd073096439f6ae0122e57321201f79045d3bc
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Thu Dec 13 13:36:23 2012 +0900

    Card: Fix the process of writing key or generating key.
    
    * g10/app-openpgp.c (store_fpr): Flush KEY-FPR and KEY-TIME.
    --
    
    (cherry picked from commit e7dca3e83ebd6df0a7ea55e97c3cd6e91be90af5)

diff --git a/g10/app-openpgp.c b/g10/app-openpgp.c
index b2ca469..a3a977b 100644
--- a/g10/app-openpgp.c
+++ b/g10/app-openpgp.c
@@ -688,9 +688,9 @@ store_fpr (app_t app, int keynumber, u32 timestamp,
   xfree (buffer);
 
   tag = (card_version > 0x0007? 0xC7 : 0xC6) + keynumber;
-  flush_cache_item (app, tag);
+  flush_cache_item (app, 0xC5);
   tag2 = 0xCE + keynumber;
-  flush_cache_item (app, tag2);
+  flush_cache_item (app, 0xCD);
 
   rc = iso7816_put_data (app->slot, 0, tag, fpr, 20);
   if (rc)

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

Summary of changes:
 g10/app-openpgp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


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




More information about the Gnupg-commits mailing list