Ticket #30293: patch-pkglue.c.diff

File patch-pkglue.c.diff, 597 bytes (added by carsomyr@…, 13 years ago)

The upstream patch.

  • g10/pkglue.c

    old new  
    3737 
    3838  list = gcry_sexp_find_token (sexp, item, 0);
    3939  assert (list);
    40   data = gcry_sexp_nth_mpi (list, 1, 0);
     40  data = gcry_sexp_nth_mpi (list, 1, GCRYMPI_FMT_USG);
    4141  assert (data);
    4242  gcry_sexp_release (list);
    4343  return data;
     
    293293  if (rc)
    294294    return rc;
    295295
    296   *result = gcry_sexp_nth_mpi (s_plain, 0, 0);
     296  *result = gcry_sexp_nth_mpi (s_plain, 0, GCRYMPI_FMT_USG);
    297297  gcry_sexp_release (s_plain);
    298298  if (!*result)
    299299    return -1;                  /* oops */