mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-13 22:21:09 +02:00
dirmngr: Fix build with no LDAP support.
* dirmngr/server.c [USE_LDAP] (start_command_handler): Conditionalize. -- Cherry-pick master commit of: 7011286ce6e1fb56c2989fdafbd11b931c489faa GnuPG-bug-id: 6239 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
b26bb03ed9
commit
a5c3821664
@ -3135,8 +3135,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