From d5a39044ef17e8cba0a2ec28acb0ad37cd2188f6 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 19 Mar 2002 13:53:26 +0000 Subject: [PATCH] Add some comments --- keyserver/gpgkeys_ldap.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/keyserver/gpgkeys_ldap.c b/keyserver/gpgkeys_ldap.c index 4c6c8e2b5..d311feb78 100644 --- a/keyserver/gpgkeys_ldap.c +++ b/keyserver/gpgkeys_ldap.c @@ -255,7 +255,13 @@ int get_key(char *getkey) /* Use the long keyid to remove duplicates. The LDAP server returns the same keyid more than once if there are - multiple user IDs on the key. */ + multiple user IDs on the key. Note that this does NOT + mean that a keyid that exists multiple times on the + keyserver will not be fetched. It means that each KEY, + no matter how many user IDs share it's keyid, will be + fetched only once. If a keyid that belongs to more than + one key is fetched, the server quite properly responds + with all matching keys. -ds */ vals=ldap_get_values(ldap,each,"pgpcertid"); if(vals!=NULL)