diff options
Diffstat (limited to 'g10/import.c')
-rw-r--r-- | g10/import.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/import.c b/g10/import.c index 02e7d1007..43eb76ece 100644 --- a/g10/import.c +++ b/g10/import.c @@ -2573,8 +2573,8 @@ transfer_secret_keys (ctrl_t ctrl, struct import_stats_s *stats, j = 0; /* Append the public key element Q. */ put_membuf_str (&mbuf, " _ %m"); - ecc_pubkey = openpgp_ecc_parse_key (pk->pubkey_algo, - curvename, pk->pkey[1]); + ecc_pubkey = openpgp_to_libgcrypt (pk->pubkey_algo, + curvename, pk->pkey[1]); format_args[j++] = &ecc_pubkey; /* Append the secret key element D. For ECDH we |