aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyserver.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-08-20 12:45:57 +0000
committerDavid Shaw <[email protected]>2002-08-20 12:45:57 +0000
commitfa88fe9aaf3ff884cd7a519168299d74888b2d05 (patch)
tree45878a1035fb32217cd0ff561190eb0646f96a3f /g10/keyserver.c
parent* gpgkeys_hkp.c (get_key, parse_hkp_index): Bring over latest code from (diff)
downloadgnupg-fa88fe9aaf3ff884cd7a519168299d74888b2d05.tar.gz
gnupg-fa88fe9aaf3ff884cd7a519168299d74888b2d05.zip
* keylist.c, keyedit.c, keyserver.c, sign.c: Some TODOs and comments.
* export.c (do_export_stream): Fix noop bug in exporting sensitive revocation keys. * pkclist.c (do_edit_ownertrust): Comment out the option for showing trust paths until it can be implemented.
Diffstat (limited to '')
-rw-r--r--g10/keyserver.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c
index 59e87c8c2..f20e492fe 100644
--- a/g10/keyserver.c
+++ b/g10/keyserver.c
@@ -975,7 +975,7 @@ keyserver_refresh(STRLIST users)
return 0;
}
-int
+int
keyserver_search(STRLIST tokens)
{
if(tokens)
@@ -987,7 +987,12 @@ keyserver_search(STRLIST tokens)
/* Count and searchstr are just for cosmetics. If the count is too
small, it will grow safely. If negative it disables the "Key x-y
of z" messages. */
-void
+
+/* TODO: do this as a list sent to keyserver_work rather than calling
+ it once for each key to get the correct counts after the import
+ (cosmetics, really) and to better take advantage of the keyservers
+ that can do multiple fetches in one go (LDAP). */
+void
keyserver_search_prompt(IOBUF buffer,int count,const char *searchstr)
{
int i=0,validcount=1;