mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
|
@ -441,13 +441,13 @@ static int
|
|||
write_sexp_keyparm (iobuf_t out, int *indent, const char *name, gcry_mpi_t a)
|
||||
{
|
||||
int rc;
|
||||
char *buffer;
|
||||
unsigned char *buffer;
|
||||
|
||||
write_sexp_line (out, indent, "(");
|
||||
iobuf_writestr (out, name);
|
||||
iobuf_writestr (out, " #");
|
||||
|
||||
rc = gcry_mpi_aprint (GCRYMPI_FMT_HEX, (void **)&buffer, NULL, a);
|
||||
rc = gcry_mpi_aprint (GCRYMPI_FMT_HEX, &buffer, NULL, a);
|
||||
assert (!rc);
|
||||
iobuf_writestr (out, buffer);
|
||||
iobuf_writestr (out, "#)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue