diff options
Diffstat (limited to 'g10/import.c')
-rw-r--r-- | g10/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/import.c b/g10/import.c index c3ad53632..8223041d1 100644 --- a/g10/import.c +++ b/g10/import.c @@ -1431,7 +1431,7 @@ transfer_secret_keys (ctrl_t ctrl, struct stats_s *stats, kbnode_t sec_keyblock) /* Send the wrapped key to the agent. */ { - char *desc = gpg_format_keydesc (pk, 1, 1); + char *desc = gpg_format_keydesc (pk, FORMAT_KEYDESC_IMPORT, 1); err = agent_import_key (ctrl, desc, &cache_nonce, wrappedkey, wrappedkeylen, opt.batch); xfree (desc); |