[svn] GnuPG - r4709 - trunk/g10
svn author wk
cvs at cvs.gnupg.org
Tue Mar 18 18:09:47 CET 2008
Author: wk
Date: 2008-03-18 18:09:45 +0100 (Tue, 18 Mar 2008)
New Revision: 4709
Modified:
trunk/g10/ChangeLog
trunk/g10/seckey-cert.c
Log:
Fix for v3 keys.
Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog 2008-03-17 18:20:39 UTC (rev 4708)
+++ trunk/g10/ChangeLog 2008-03-18 17:09:45 UTC (rev 4709)
@@ -1,3 +1,8 @@
+2008-03-18 Werner Koch <wk at g10code.com>
+
+ * seckey-cert.c (do_check): Use GCRYMPI_FMT_PGP for v3 keys.
+ Reported by Petr Cerny.
+
2008-03-13 Werner Koch <wk at g10code.com>
* passphrase.c (PROMPTSTRING): Change string to me more similar to
Modified: trunk/g10/seckey-cert.c
===================================================================
--- trunk/g10/seckey-cert.c 2008-03-17 18:20:39 UTC (rev 4708)
+++ trunk/g10/seckey-cert.c 2008-03-18 17:09:45 UTC (rev 4709)
@@ -209,7 +209,7 @@
csum += checksum (buffer, ndata);
gcry_mpi_release (sk->skey[i]);
- err = gcry_mpi_scan( &sk->skey[i], GCRYMPI_FMT_USG,
+ err = gcry_mpi_scan( &sk->skey[i], GCRYMPI_FMT_PGP,
buffer, ndata, &ndata );
xfree (buffer);
if (err)
More information about the Gnupg-commits
mailing list