diff --git a/SPECS/ecc-curves.c b/SPECS/ecc-curves.c index 1720778..7378bae 100644 --- a/SPECS/ecc-curves.c +++ b/SPECS/ecc-curves.c @@ -1057,7 +1057,7 @@ _gcry_ecc_get_mpi (const char *name, mpi_ec_t ec, int copy) if (!strcmp (name, "q.x") && ec->Q && ec->Q->x) return mpi_is_const (ec->Q->x) && !copy? ec->Q->x : mpi_copy (ec->Q->x); if (!strcmp (name, "q.y") && ec->Q && ec->Q->y) - return mpi_is_const (ec->G->y) && !copy? ec->Q->y : mpi_copy (ec->Q->y); + return mpi_is_const (ec->Q->y) && !copy? ec->Q->y : mpi_copy (ec->Q->y); /* If the base point has been requested, return it in standard encoding. */ diff --git a/SPECS/libgcrypt-1.8.5-hobbled.tar.xz b/SPECS/libgcrypt-1.8.5-hobbled.tar.xz new file mode 100644 index 0000000..5b7c9ac Binary files /dev/null and b/SPECS/libgcrypt-1.8.5-hobbled.tar.xz differ