gpg: Use a common filter_getval for import and export.
authorWerner Koch <wk@gnupg.org>
Mon, 5 Sep 2016 06:31:25 +0000 (08:31 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 5 Sep 2016 07:52:04 +0000 (09:52 +0200)
commitc8e0d37f4152d1341ef562a190fce93a0386a759
tree479cbce9599381a886ccf2c43aa881fbf75307f2
parentf9e49c80e706a27d5e30d4b3237ff26367a67130
gpg: Use a common filter_getval for import and export.

* g10/import.c (filter_getval): Rename to ...
(impex_filter_getval): this.  Make global.
(apply_keep_uid_filter, apply_drop_sig_filter): Adjust.
* g10/export.c (filter_getval): Remove.
(apply_drop_sig_filter): Use impex_filter_getval.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/export.c
g10/import.c
g10/main.h