gpg: Move a function from import.c to export.c.
authorWerner Koch <wk@gnupg.org>
Tue, 12 Jul 2016 11:59:10 +0000 (13:59 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 12 Jul 2016 13:13:34 +0000 (15:13 +0200)
commit0f5b105d96780a29cc58893285e6c38482e0cc2d
tree336f566839e4925ac5b0a478d886bb992438bff2
parent3ccfd58b25a53def9c7e990c4f2f4091b95ae333
gpg: Move a function from import.c to export.c.

* g10/import.c (write_keyblock_to_output): Move to ...
* g10/export.c (write_keyblock_to_output): here.  Add arg WITH_ARMOR.
Also make sure never to export ring trust packets.
g10/export.c
g10/import.c
g10/main.h