[git] GnuPG - branch, master, updated. gnupg-2.1.10-10-ga8308ba

by Justus Winter cvs at cvs.gnupg.org
Fri Dec 4 12:59:48 CET 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  a8308ba5231682ce7c7d591a17e7e940fbd63189 (commit)
      from  582e684a48eb4f3716cecf7dc73eb93046efcfad (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a8308ba5231682ce7c7d591a17e7e940fbd63189
Author: Justus Winter <justus at g10code.com>
Date:   Fri Dec 4 12:08:37 2015 +0100

    dirmngr: Handle http status '501 Not Implemented'.
    
    * dirmngr/ks-engine-hkp.c (send_request): Handle status 501 and return
    GPG_ERR_NOT_IMPLEMENTED.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
    GnuPG-bug-id: 1221

diff --git a/dirmngr/ks-engine-hkp.c b/dirmngr/ks-engine-hkp.c
index e458899..0f2021c 100644
--- a/dirmngr/ks-engine-hkp.c
+++ b/dirmngr/ks-engine-hkp.c
@@ -1083,6 +1083,10 @@ send_request (ctrl_t ctrl, const char *request, const char *hostportstr,
       }
       goto leave;
 
+    case 501:
+      err = gpg_error (GPG_ERR_NOT_IMPLEMENTED);
+      goto leave;
+
     default:
       log_error (_("error accessing '%s': http status %u\n"),
                  request, http_get_status_code (http));

-----------------------------------------------------------------------

Summary of changes:
 dirmngr/ks-engine-hkp.c | 4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list