aboutsummaryrefslogtreecommitdiffstats
path: root/g10/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/export.c')
-rw-r--r--g10/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/export.c b/g10/export.c
index 7fbcb346b..01bdd5e82 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -583,7 +583,7 @@ transfer_format_to_openpgp (gcry_sexp_t s_pgp, PKT_public_key *pk)
goto leave;
curvename = gcry_pk_get_curve (s_pubkey, 0, NULL);
gcry_sexp_release (s_pubkey);
- curveoidstr = gpg_curve_to_oid (curvename, NULL);
+ curveoidstr = openpgp_curve_to_oid (curvename, NULL);
if (!curveoidstr)
{
log_error ("no OID known for curve '%s'\n", curvename);