[Pkg-gnupg-commit] [gnupg2] 09/116: wks: Let the client ignore missing policy flags.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Jan 24 04:40:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit e917dfcd973a3ebbf5eb584e819ffa89f932bfef
Author: Werner Koch <wk at gnupg.org>
Date: Thu Dec 22 14:39:11 2016 +0100
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 at gnupg.org>
---
NEWS | 2 +-
tools/gpg-wks-client.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 1a8a989..79bbbbc 100644
--- a/NEWS
+++ b/NEWS
@@ -591,7 +591,7 @@ Noteworthy changes in version 2.1.3 (2015-04-11)
* gpg: New option --print-pka-records. Changed the PKA method to use
CERT records and hashed names. [Update: --print-pka-records
- replaced in 2.1.4.]
+ replaced in 2.1.14.]
* gpg: New command --list-gcrypt-config. New parameter "curve"
for --list-config.
diff --git a/tools/gpg-wks-client.c b/tools/gpg-wks-client.c
index 0f90424..d58c81b 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));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list