mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-11 22:52:47 +01:00
dirmngr: Fix build with no LDAP support.
* dirmngr/server.c [USE_LDAP] (start_command_handler): Conditionalize. -- GnuPG-bug-id: 6239 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
edf3b8aa53
commit
7011286ce6
@ -3137,8 +3137,10 @@ start_command_handler (assuan_fd_t fd, unsigned int session_id)
|
|||||||
ctrl->refcount);
|
ctrl->refcount);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#if USE_LDAP
|
||||||
ks_ldap_free_state (ctrl->ks_get_state);
|
ks_ldap_free_state (ctrl->ks_get_state);
|
||||||
ctrl->ks_get_state = NULL;
|
ctrl->ks_get_state = NULL;
|
||||||
|
#endif
|
||||||
release_ctrl_ocsp_certs (ctrl);
|
release_ctrl_ocsp_certs (ctrl);
|
||||||
xfree (ctrl->server_local);
|
xfree (ctrl->server_local);
|
||||||
dirmngr_deinit_default_ctrl (ctrl);
|
dirmngr_deinit_default_ctrl (ctrl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user