[git] GnuPG - branch, master, updated. post-nuke-of-trailing-ws-9-ge1c38a7

by Andrey Jivsov cvs at cvs.gnupg.org
Sat Feb 12 03:01:39 CET 2011


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  e1c38a7ff56c4dfc2e83c35c4ad56f9bd8a9a059 (commit)
      from  7d5ba080be74308f5f77c734e901705f06408a6e (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 e1c38a7ff56c4dfc2e83c35c4ad56f9bd8a9a059
Author: Andrey Jivsov <openpgp at brainhub.org>
Date:   Fri Feb 11 17:38:39 2011 -0800

    fixed --list-keys on Linux64 bit

diff --git a/ChangeLog b/ChangeLog
index 17d049f..03e2399 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-11  Andrey Jivsov <openpgp at brainhub.org>
+
+	* fixed --list-keys on Linux64 bit
+
 2011-02-04  Werner Koch  <wk at g10code.com>
 
 	* autogen.sh: Ensure that the git pre-commit hoom has been
diff --git a/common/openpgp-oid.c b/common/openpgp-oid.c
index 222c5a0..2a6feaf 100644
--- a/common/openpgp-oid.c
+++ b/common/openpgp-oid.c
@@ -145,6 +145,7 @@ openpgp_oid_to_str (gcry_mpi_t a)
 {
   const unsigned char *buf;
   size_t length;
+  unsigned int lengthi;
   char *string, *p;
   int n = 0;
   unsigned long val, valmask;
@@ -157,8 +158,8 @@ openpgp_oid_to_str (gcry_mpi_t a)
       return NULL;
     }
 
-  buf = gcry_mpi_get_opaque (a, &length);
-  length = (length+7)/8;
+  buf = gcry_mpi_get_opaque (a, &lengthi);
+  length = (lengthi+7)/8;
 
   /* The first bytes gives the length; check consistency.  */
   if (!length || buf[0] != length -1)

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

Summary of changes:
 ChangeLog            |    4 ++++
 common/openpgp-oid.c |    5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)


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




More information about the Gnupg-commits mailing list