summaryrefslogtreecommitdiffstats
path: root/keyserver
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-11-21 12:00:14 +0100
committerWerner Koch <wk@gnupg.org>2006-11-21 12:00:14 +0100
commite50c5f39cc2ea399eead30ef451d7d5e24c13fe6 (patch)
tree37f73eb8abf85a3a6505a5a7c30b1e4c8e8d85d5 /keyserver
parentMade some PIN pads work. (diff)
downloadgnupg2-e50c5f39cc2ea399eead30ef451d7d5e24c13fe6.tar.xz
gnupg2-e50c5f39cc2ea399eead30ef451d7d5e24c13fe6.zip
No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a
good chance that gpg2 will now work. Other cleanups. Updated gettext.
Diffstat (limited to 'keyserver')
-rw-r--r--keyserver/ChangeLog4
-rw-r--r--keyserver/curl-shim.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog
index bd62698c2..60ccb9544 100644
--- a/keyserver/ChangeLog
+++ b/keyserver/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-21 Werner Koch <wk@g10code.com>
+
+ * curl-shim.c (curl_easy_perform): Made BUFLEN and MAXLNE a size_t.
+
2006-11-05 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (curl_mrindex_writer): Revert previous change.
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c
index 763c0ef24..406e26ee0 100644
--- a/keyserver/curl-shim.c
+++ b/keyserver/curl-shim.c
@@ -217,7 +217,9 @@ curl_easy_perform(CURL *curl)
err = CURLE_HTTP_RETURNED_ERROR;
else
{
- unsigned int maxlen = 1024, buflen, len;
+ size_t maxlen = 1024;
+ size_t buflen;
+ unsigned int len;
char *line = NULL;
while ((len = es_read_line (http_get_read_ptr (curl->hd),