mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* 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.
This commit is contained in:
parent
a918d63fd5
commit
6f0ed8571b
6 changed files with 37 additions and 31 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue