gpg: 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>
Wed, 25 Jun 2014 12:33:34 +0000 (14:33 +0200)
commit044847a0e2013a2833605c1a9f80cfa6ef353309
tree084b72ff8b1b01d6ba1be96120b5db26604a4bb3
parent616126530f92ab31abcbf3fad9a34532e378355d
gpg: 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 5e933008.

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