aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/import.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/import.c b/g10/import.c
index 2e0b2fee2..cadea5a6e 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -1243,7 +1243,10 @@ transfer_secret_keys (ctrl_t ctrl, kbnode_t sec_keyblock)
size_t uidlen;
u32 keyid[2];
char *orig_codeset;
-
+
+ /* FIXME: We should use gpg_format_keydesc, however that
+ requires a public key structure. It might be useful to
+ merge the secret and public key structures. */
keyid_from_sk (sk, keyid);
uid = get_user_id (keyid, &uidlen);
orig_codeset = i18n_switchto_utf8 ();