SHA256
1
0
forked from pool/gpg2
gpg2/gnupg-2.0.4-oldkey.diff

12 lines
397 B
Diff

--- g10/seckey-cert.c
+++ g10/seckey-cert.c
@@ -212,7 +212,7 @@ do_check( PKT_secret_key *sk, const char
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)