g10: fix regression of bkuptocard subcommand in --edit-key.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 24 Dec 2015 00:54:23 +0000 (09:54 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 24 Dec 2015 00:54:23 +0000 (09:54 +0900)
commit40959add1ba0efc1f4aa87fa075fa42423eff73c
tree1ef038237399cd9f1b7dbab6146ad8dbc4e3d8f5
parente684c634df814b12d399dcdc375c35d3e9a137af
g10: fix regression of bkuptocard subcommand in --edit-key.

* g10/keyedit.c (keyedit_menu): Call transfer_secret_keys.
* g10/import.c (transfer_secret_keys): Make it global function.
Allow stats==NULL.

--

GnuPG-bug-id: 2169
g10/import.c
g10/keyedit.c
g10/main.h