aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-11-12 11:14:32 +0000
committerWerner Koch <[email protected]>2014-11-12 11:14:32 +0000
commiteecbed004ca1e9ca23c3892c3a5e6dd174ddf93b (patch)
tree35a5e4d4f665f5265a96988b5a15d8b9cfcd4000 /g10/call-dirmngr.c
parentgpg: Add import options "keep-ownertrust". (diff)
downloadgnupg-eecbed004ca1e9ca23c3892c3a5e6dd174ddf93b.tar.gz
gnupg-eecbed004ca1e9ca23c3892c3a5e6dd174ddf93b.zip
gpg: Fix regression in --refresh-keys
* g10/keyserver.c (keyserver_get): Factor all code out to ... (keyserver_get_chunk): new. Extimate line length. (keyserver_get): Split up requests into chunks. -- Note that refreshing all keys still requires way to much memory because we build an in-memory list of all keys first. It is required to first get a list of all keys to avoid conflicts while updating the key store in the process of receiving keys. A better strategy would be a background process and tracking the last update in the key store. GnuPG-bug-id: 1755 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/call-dirmngr.c')
-rw-r--r--g10/call-dirmngr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/call-dirmngr.c b/g10/call-dirmngr.c
index 5bddbbeda..71f53240b 100644
--- a/g10/call-dirmngr.c
+++ b/g10/call-dirmngr.c
@@ -429,7 +429,7 @@ ks_get_data_cb (void *opaque, const void *data, size_t datalen)
error an error code is returned and NULL stored at R_FP.
The pattern may only use search specification which a keyserver can
- use to retriev keys. Because we know the format of the pattern we
+ use to retrieve keys. Because we know the format of the pattern we
don't need to escape the patterns before sending them to the
server.