mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
wkd: Implement --blacklist option for gpg-wks-client
* tools/gpg-wks-client.c (blacklist_array, blacklist_array_len): New.
(parse_arguments): Install blacklist.
(read_file): New.
(cmp_blacklist, add_blacklist, is_in_blacklist): New.
(mirror_one_key): Check list.
* tools/gpg-wks.h (opt): Remove field blacklist.
--
GnuPG-bug-id: 6224
(cherry picked from commit b0b4e24c4f
)
This commit is contained in:
parent
88042821d8
commit
cd020284c9
3 changed files with 193 additions and 4 deletions
|
@ -44,7 +44,6 @@ struct
|
|||
const char *directory;
|
||||
const char *default_from;
|
||||
strlist_t extra_headers;
|
||||
const char *blacklist;
|
||||
} opt;
|
||||
|
||||
/* Debug values and macros. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue