aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 786ae52cf..8e1dbd927 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -1806,7 +1806,7 @@ pubkey_nbits( int algo, gcry_mpi_t *key )
else
{
const char *curve_name = openpgp_oid_to_curve (curve, 1);
- gcry_mpi_t pubkey = openpgp_ecc_parse_key (algo, curve_name, key[1]);
+ gcry_mpi_t pubkey = openpgp_to_libgcrypt (algo, curve_name, key[1]);
rc = gcry_sexp_build (&sexp, NULL,
"(public-key(ecc(curve%s)(q%m)))",