mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
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@g10code.com> GnuPG-bug-id: 1221
This commit is contained in:
parent
582e684a48
commit
a8308ba523
@ -1083,6 +1083,10 @@ send_request (ctrl_t ctrl, const char *request, const char *hostportstr,
|
|||||||
}
|
}
|
||||||
goto leave;
|
goto leave;
|
||||||
|
|
||||||
|
case 501:
|
||||||
|
err = gpg_error (GPG_ERR_NOT_IMPLEMENTED);
|
||||||
|
goto leave;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
log_error (_("error accessing '%s': http status %u\n"),
|
log_error (_("error accessing '%s': http status %u\n"),
|
||||||
request, http_get_status_code (http));
|
request, http_get_status_code (http));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user