mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix for v3 keys.
This commit is contained in:
parent
6a78bca874
commit
432cd50b97
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue