g10: Use --force when importing key for bkuptocard.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 24 Dec 2015 05:15:58 +0000 (14:15 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 24 Dec 2015 05:15:58 +0000 (14:15 +0900)
commit5ca57f1a697e875bae5a5c73f1a580c42ca75343
tree2640f8cfb96b8f500d0eae7438c03ffcb0f05178
parent44aee35e69540510617aea4b886ef845590960fe
g10: Use --force when importing key for bkuptocard.

* g10/call-agent.c (agent_import_key): Add an argument FORCE.
* g10/import.c (transfer_secret_keys): Likewise.
(import_secret_one): Call transfer_secret_keys with FORCE=0.
* g10/keyedit.c (keyedit_menu): Call with FORCE=1.
g10/call-agent.c
g10/call-agent.h
g10/import.c
g10/keyedit.c
g10/main.h