73f04f7f0c
Brings a number of fixes: https://dev.gnupg.org/T6106 Add patch 0001 to fix undefined reference to `ks_ldap_free_state' backported from commit 7011286ce6e1fb56c2989fdafbd11b931c489faa Signed-off-by: Michael Fischer <mf@go-sys.de> [Peter: add changelog info] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
587 B
Diff
22 lines
587 B
Diff
|
|
Fix undefined reference to `ks_ldap_free_state' if OpenLDAP is not
|
|
installed
|
|
|
|
Backported from: 7011286ce6e1fb56c2989fdafbd11b931c489faa
|
|
|
|
Signed-off-by: Michael Fischer <mf@go-sys.de>
|
|
|
|
--- a/dirmngr/server.c
|
|
+++ b/dirmngr/server.c
|
|
@@ -3137,8 +3137,10 @@ start_command_handler (assuan_fd_t fd, unsigned int session_id)
|
|
ctrl->refcount);
|
|
else
|
|
{
|
|
+#if USE_LDAP
|
|
ks_ldap_free_state (ctrl->ks_get_state);
|
|
ctrl->ks_get_state = NULL;
|
|
+#endif
|
|
release_ctrl_ocsp_certs (ctrl);
|
|
xfree (ctrl->server_local);
|
|
dirmngr_deinit_default_ctrl (ctrl);
|