forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
From 7011286ce6e1fb56c2989fdafbd11b931c489faa Mon Sep 17 00:00:00 2001 | ||
From: NIIBE Yutaka <gniibe@fsij.org> | ||
Date: Fri, 14 Oct 2022 09:58:41 +0900 | ||
Subject: [PATCH] dirmngr: Fix build with no LDAP support. | ||
|
||
* dirmngr/server.c [USE_LDAP] (start_command_handler): Conditionalize. | ||
|
||
--- dirmngr/server.c | ||
+++ 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); |