mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
wks: Allow gpg-wks-client --supported with just the domain name
* tools/gpg-wks-client.c (command_supported): Hack for missing local part. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
dcfb019598
commit
6cba56d436
@ -551,6 +551,13 @@ command_supported (char *userid)
|
||||
char *addrspec = NULL;
|
||||
char *submission_to = NULL;
|
||||
|
||||
if (!strchr (userid, '@'))
|
||||
{
|
||||
char *tmp = xstrconcat ("foo@", userid, NULL);
|
||||
addrspec = mailbox_from_userid (tmp);
|
||||
xfree (tmp);
|
||||
}
|
||||
else
|
||||
addrspec = mailbox_from_userid (userid);
|
||||
if (!addrspec)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user