diff options
author | David Shaw <dshaw@jabberwocky.com> | 2005-07-20 23:48:28 +0200 |
---|---|---|
committer | David Shaw <dshaw@jabberwocky.com> | 2005-07-20 23:48:28 +0200 |
commit | 6f0ed8571b1b17cc8d7bba23acb1c4a5c295205a (patch) | |
tree | 886fbcf62d6b0eb59da44eb33cd87537adf1cb0d /keyserver/curl-shim.h | |
parent | * keyserver.c (curl_can_handle): New. Do a runtime check against libcurl (diff) | |
download | gnupg2-6f0ed8571b1b17cc8d7bba23acb1c4a5c295205a.tar.xz gnupg2-6f0ed8571b1b17cc8d7bba23acb1c4a5c295205a.zip |
* gpgkeys_curl.c (get_key, main): Don't try and be smart about what
protocols we handle. Directly pass them to curl or fake-curl and see if
an error comes back.
* curl-shim.h, curl-shim.c (handle_error), ksutil.c (curl_err_to_gpg_err):
Add support for CURLE_UNSUPPORTED_PROTOCOL in fake curl.
* Makefile.am: Don't need -DFAKE_CURL any longer since it's in config.h.
Diffstat (limited to 'keyserver/curl-shim.h')
-rw-r--r-- | keyserver/curl-shim.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keyserver/curl-shim.h b/keyserver/curl-shim.h index 6c5bc4368..c78c12960 100644 --- a/keyserver/curl-shim.h +++ b/keyserver/curl-shim.h @@ -27,6 +27,7 @@ typedef enum { CURLE_OK=0, + CURLE_UNSUPPORTED_PROTOCOL=1, CURLE_COULDNT_CONNECT=7, CURLE_FTP_COULDNT_RETR_FILE=19, CURLE_HTTP_RETURNED_ERROR=22, |