summaryrefslogtreecommitdiff
path: root/cipher/ecc-curves.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/ecc-curves.c')
-rw-r--r--cipher/ecc-curves.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher/ecc-curves.c b/cipher/ecc-curves.c
index 53433a2c..2cdb9b4d 100644
--- a/cipher/ecc-curves.c
+++ b/cipher/ecc-curves.c
@@ -436,9 +436,9 @@ _gcry_ecc_get_curve (gcry_sexp_t keyparms, int iterator, unsigned int *r_nbits)
/*
* Extract the curve parameters..
*/
- if (_gcry_pk_util_extract_mpis (keyparms, "-pabgn",
- &E.p, &E.a, &E.b, &mpi_g, &E.n,
- NULL))
+ if (_gcry_sexp_extract_param (keyparms, NULL, "-pabgn",
+ &E.p, &E.a, &E.b, &mpi_g, &E.n,
+ NULL))
goto leave;
if (mpi_g)
{