mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
dirmngr: Fix build with --disable-ldap.
* dirmngr/dirmngr.c (parse_rereadable_options) [USE_LDAP]: Conditionalize. -- Reported-by: Phil Pennock Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> (cherry picked from commit c8b2162c0e7eb42b74811b7ed225fa0f56be4083)
This commit is contained in:
parent
89df86157e
commit
c6900f5723
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user