mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Adjusted for use with current libgcrypt (1.1.42).
This commit is contained in:
parent
0fe6a1287f
commit
979ed0ca26
12 changed files with 45 additions and 43 deletions
|
@ -304,8 +304,8 @@ do_sign( PKT_secret_key *sk, PKT_signature *sig,
|
|||
xfree (snbuf);
|
||||
if (!rc)
|
||||
{
|
||||
unsigned int nbytes = rbuflen;
|
||||
if (gcry_mpi_scan (&sig->data[0], GCRYMPI_FMT_USG, rbuf, &nbytes ))
|
||||
if (gcry_mpi_scan (&sig->data[0], GCRYMPI_FMT_USG,
|
||||
rbuf, rbuflen, NULL ))
|
||||
BUG ();
|
||||
}
|
||||
}
|
||||
|
@ -325,8 +325,8 @@ do_sign( PKT_secret_key *sk, PKT_signature *sig,
|
|||
xfree (snbuf);
|
||||
if (!rc)
|
||||
{
|
||||
unsigned int nbytes = rbuflen;
|
||||
if (gcry_mpi_scan (&sig->data[0], GCRYMPI_FMT_USG, rbuf, &nbytes ))
|
||||
if (gcry_mpi_scan (&sig->data[0], GCRYMPI_FMT_USG,
|
||||
rbuf, rbuflen, NULL))
|
||||
BUG ();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue