diff options
Diffstat (limited to 'g10/seckey-cert.c')
-rw-r--r-- | g10/seckey-cert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/seckey-cert.c b/g10/seckey-cert.c index f0dde2caf..841421d94 100644 --- a/g10/seckey-cert.c +++ b/g10/seckey-cert.c @@ -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) |