Ticket #30293: patch-pkglue.c.diff
File patch-pkglue.c.diff, 597 bytes (added by carsomyr@…, 13 years ago) |
---|
-
g10/pkglue.c
old new 37 37 38 38 list = gcry_sexp_find_token (sexp, item, 0); 39 39 assert (list); 40 data = gcry_sexp_nth_mpi (list, 1, 0);40 data = gcry_sexp_nth_mpi (list, 1, GCRYMPI_FMT_USG); 41 41 assert (data); 42 42 gcry_sexp_release (list); 43 43 return data; … … 293 293 if (rc) 294 294 return rc; 295 295 296 *result = gcry_sexp_nth_mpi (s_plain, 0, 0);296 *result = gcry_sexp_nth_mpi (s_plain, 0, GCRYMPI_FMT_USG); 297 297 gcry_sexp_release (s_plain); 298 298 if (!*result) 299 299 return -1; /* oops */