aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-02-12 03:15:02 +0000
committerDavid Shaw <[email protected]>2005-02-12 03:15:02 +0000
commit2833a0eadcc5e95d164974afddb421afcff3bca9 (patch)
treef18c33d1f4b9d4eb1da58d26cea832515fba3c81 /keyserver/curl-shim.c
parent* curl-shim.h, curl-shim.c: New. This is code to fake the curl API in (diff)
downloadgnupg-2833a0eadcc5e95d164974afddb421afcff3bca9.tar.gz
gnupg-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.c')
-rw-r--r--keyserver/curl-shim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c
index 623d685f7..088d65fc2 100644
--- a/keyserver/curl-shim.c
+++ b/keyserver/curl-shim.c
@@ -129,7 +129,7 @@ CURLcode curl_easy_perform(CURL *curl)
}
else
{
- size_t maxlen=1024,buflen,len;
+ unsigned int maxlen=1024,buflen,len;
byte *line=NULL;
while((len=iobuf_read_line(curl->hd.fp_read,&line,&buflen,&maxlen)))