diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c index 915e0e601..330983f3f 100644 --- a/dirmngr/dirmngr.c +++ b/dirmngr/dirmngr.c @@ -770,6 +770,7 @@ parse_rereadable_options (gpgrt_argparse_t *pargs, int reread) case oRecursiveResolver: enable_recursive_resolver (1); break; case oLDAPServer: +#if USE_LDAP { ldap_server_t server; char *p; @@ -791,6 +792,7 @@ parse_rereadable_options (gpgrt_argparse_t *pargs, int reread) opt.ldapservers = server; } } +#endif break; case oKeyServer: