diff options
author | Werner Koch <wk@gnupg.org> | 2010-09-01 14:49:05 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-09-01 14:49:05 +0200 |
commit | a0b9ebfb7dcc61c2893c48903c87a4cceb2a6ed5 (patch) | |
tree | 8f7613375b4b5c7db07938eeacffda72a39ddcb7 /g10/import.c | |
parent | s/CACHE_MODE_IMPGEN/CACHE_MODE_NONCE/. (diff) | |
download | gnupg2-a0b9ebfb7dcc61c2893c48903c87a4cceb2a6ed5.tar.xz gnupg2-a0b9ebfb7dcc61c2893c48903c87a4cceb2a6ed5.zip |
Even less prompts for a new key now.
Diffstat (limited to 'g10/import.c')
-rw-r--r-- | g10/import.c | 5 |
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 (); |