mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
Fix for v3 keys.
This commit is contained in:
parent
6a78bca874
commit
432cd50b97
@ -1,3 +1,8 @@
|
||||
2008-03-18 Werner Koch <wk@g10code.com>
|
||||
|
||||
* seckey-cert.c (do_check): Use GCRYMPI_FMT_PGP for v3 keys.
|
||||
Reported by Petr Cerny.
|
||||
|
||||
2008-03-13 Werner Koch <wk@g10code.com>
|
||||
|
||||
* passphrase.c (PROMPTSTRING): Change string to me more similar to
|
||||
|
@ -209,7 +209,7 @@ do_check( PKT_secret_key *sk, const char *tryagain_text, int mode,
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user