gpg: Reject import if an import filter removed all user ids.
authorWerner Koch <wk@gnupg.org>
Wed, 28 Sep 2016 13:32:04 +0000 (15:32 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 28 Sep 2016 13:32:04 +0000 (15:32 +0200)
commit80393661bdfa7ae0288644513575e8a5d708b084
treede09d604e266ff97293b31790663f5815696ebe8
parentc9237bf2ba2c49588576dcece756ebf5fe89aada
gpg: Reject import if an import filter removed all user ids.

* g10/import.c (any_uid_left): New.
(import_one): Check that a UID is left.

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