aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-11-24 14:48:24 +0000
committerWerner Koch <[email protected]>2011-12-02 20:57:32 +0000
commitcc7cc2b4693e88ae3a476e14d19decfa91a9786f (patch)
treec9fc2612393eb2ba130da2f2e17f5f546f8f7eb2 /dirmngr/ldap.c
parentUpdated the German translation. (diff)
downloadgnupg-cc7cc2b4693e88ae3a476e14d19decfa91a9786f.tar.gz
gnupg-cc7cc2b4693e88ae3a476e14d19decfa91a9786f.zip
Make HKP kyeserver engine work again.
We had some debug code here which prevented it from working. The host selection code still needs a review! * ks-engine-http.c (ks_http_help): Do not print help for hkp. * ks-engine-hkp.c (ks_hkp_help): Print help only for hkp. (send_request): Remove test code. (map_host): Use xtrymalloc. * certcache.c (classify_pattern): Remove unused variable and make explicit substring search work.
Diffstat (limited to '')
-rw-r--r--dirmngr/ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dirmngr/ldap.c b/dirmngr/ldap.c
index dfcf94328..13b3c8883 100644
--- a/dirmngr/ldap.c
+++ b/dirmngr/ldap.c
@@ -666,7 +666,7 @@ fetch_next_cert_ldap (cert_fetch_context_t context,
char *p, *pend;
int n;
int okay = 0;
- int is_cms = 0;
+ /* int is_cms = 0; */
*value = NULL;
*valuelen = 0;
@@ -758,7 +758,7 @@ fetch_next_cert_ldap (cert_fetch_context_t context,
{
p = context->tmpbuf;
p[n] = 0; /*(we allocated one extra byte for this.)*/
- is_cms = 0;
+ /* fixme: is_cms = 0; */
if ( (pend = strchr (p, ';')) )
*pend = 0; /* Strip off the extension. */
if (!ascii_strcasecmp (p, USERCERTIFICATE))