summaryrefslogtreecommitdiffstats
path: root/tools/gpg-wks-client.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-12-22 14:39:11 +0100
committerWerner Koch <wk@gnupg.org>2016-12-22 14:40:43 +0100
commite917dfcd973a3ebbf5eb584e819ffa89f932bfef (patch)
treeb246db33cedb0ae8635fec49c7dc33d23bb06a1e /tools/gpg-wks-client.c
parentscd: Clean up internal API for APP. (diff)
downloadgnupg2-e917dfcd973a3ebbf5eb584e819ffa89f932bfef.tar.xz
gnupg2-e917dfcd973a3ebbf5eb584e819ffa89f932bfef.zip
wks: Let the client ignore missing policy flags.
* tools/gpg-wks-client.c (command_send): Ignore missing policy flags. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/gpg-wks-client.c')
-rw-r--r--tools/gpg-wks-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-wks-client.c b/tools/gpg-wks-client.c
index 0f904242d..d58c81b83 100644
--- a/tools/gpg-wks-client.c
+++ b/tools/gpg-wks-client.c
@@ -699,7 +699,7 @@ command_send (const char *fingerprint, char *userid)
estream_t mbuf;
err = wkd_get_policy_flags (addrspec, &mbuf);
- if (err)
+ if (err && gpg_err_code (err) != GPG_ERR_NO_DATA)
{
log_error ("error reading policy flags for '%s': %s\n",
submission_to, gpg_strerror (err));