summaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.h
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2005-02-12 04:15:02 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2005-02-12 04:15:02 +0100
commit2833a0eadcc5e95d164974afddb421afcff3bca9 (patch)
treef18c33d1f4b9d4eb1da58d26cea832515fba3c81 /keyserver/curl-shim.h
parent* curl-shim.h, curl-shim.c: New. This is code to fake the curl API in (diff)
downloadgnupg2-2833a0eadcc5e95d164974afddb421afcff3bca9.tar.xz
gnupg2-2833a0eadcc5e95d164974afddb421afcff3bca9.zip
* curl-shim.c (curl_easy_perform): Fix compile warning.
* curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add ca-cert-file option, to pass in the SSL cert.
Diffstat (limited to 'keyserver/curl-shim.h')
-rw-r--r--keyserver/curl-shim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyserver/curl-shim.h b/keyserver/curl-shim.h
index eb91af33d..906d4345c 100644
--- a/keyserver/curl-shim.h
+++ b/keyserver/curl-shim.h
@@ -42,7 +42,8 @@ typedef enum
CURLOPT_STDERR,
CURLOPT_VERBOSE,
CURLOPT_SSL_VERIFYPEER,
- CURLOPT_PROXY
+ CURLOPT_PROXY,
+ CURLOPT_CAINFO
} CURLoption;
typedef size_t (*write_func)(char *buffer,size_t size,