tools: Show a clearer error message if a server doesn't support WKS
authorNeal H. Walfield <neal@g10code.com>
Thu, 22 Dec 2016 15:06:13 +0000 (16:06 +0100)
committerNeal H. Walfield <neal@g10code.com>
Thu, 22 Dec 2016 15:06:13 +0000 (16:06 +0100)
commit1909e994cb87d6c6866a465f0c20a456d4df46cc
treed0b94921bc592abd46cfab66693c923cd2f54f71
parente917dfcd973a3ebbf5eb584e819ffa89f932bfef
tools: Show a clearer error message if a server doesn't support WKS

* tools/gpg-wks-client.c (command_send): If we fail to lookup the
submission address, print a better error message.  If it is because
the corresponding file doesn't exist, provide the hint that the server
probably doesn't support WKS.

Signed-off-by: Neal H. Walfield <neal@g10code.com>
tools/gpg-wks-client.c