From e917dfcd973a3ebbf5eb584e819ffa89f932bfef Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 22 Dec 2016 14:39:11 +0100 Subject: wks: Let the client ignore missing policy flags. * tools/gpg-wks-client.c (command_send): Ignore missing policy flags. Signed-off-by: Werner Koch --- tools/gpg-wks-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gpg-wks-client.c') 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)); -- cgit v1.2.3