mirror of git://git.gnupg.org/gnupg.git
wks: Make gpg-wks-client --mirror work w/o args.
* tools/gpg-wks-client.c (mirror_one_key): Test for no domain specified. -- The code did not really work if no domain was given. It worked but filtered out all keys so that no key was actually exported.
This commit is contained in:
parent
8cd920f6aa
commit
5999d95e04
|
@ -1978,7 +1978,7 @@ mirror_one_key (estream_t key)
|
|||
continue; /* No mail box or already processed. */
|
||||
if (uid->expired)
|
||||
continue;
|
||||
if (!domain_matches_mbox (domain, uid->mbox))
|
||||
if (*domain && !domain_matches_mbox (domain, uid->mbox))
|
||||
continue; /* We don't want this one. */
|
||||
if (is_in_blacklist (uid->mbox))
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue