Make screening of keyserver result work with multi-key commands.
authorWerner Koch <wk@gnupg.org>
Wed, 25 Jun 2014 12:33:34 +0000 (14:33 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 30 Jun 2014 17:40:44 +0000 (19:40 +0200)
commit955524f4359ba9e9de213f4067c38df9ae4808a8
treead834d27966bf6303920a759701a78896806bca0
parent574b9ed28d83a98b9c002b349de651236b86ac24
Make screening of keyserver result work with multi-key commands.

* g10/keyserver.c (ks_retrieval_filter_arg_s): new.
(keyserver_retrieval_filter): Use new struct and check all
descriptions.
(keyserver_spawn): Pass filter arg suing the new struct.
--

This is a fix for commit 52303043.

The old code did only work for a single key.  It failed as soon as
several keys are specified ("gpg --refresh-keys" or "gpg --recv-key A
B C").
g10/keyserver.c