0001-dirmngr-Enable-the-call-of-ks_ldap_help_variables-wh.patch 911 B

123456789101112131415161718192021222324252627282930313233343536
  1. From dc13361524c1477b2106c7385f2059f9ea111b84 Mon Sep 17 00:00:00 2001
  2. From: NIIBE Yutaka <gniibe@fsij.org>
  3. Date: Wed, 5 Jul 2023 09:29:54 +0900
  4. Subject: [PATCH] dirmngr: Enable the call of ks_ldap_help_variables when
  5. USE_LDAP.
  6. * dirmngr/server.c [USE_LDAP] (cmd_ad_query): Conditionalize.
  7. --
  8. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
  9. Upstream: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=dc13361524c1477b2106c7385f2059f9ea111b84
  10. Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
  11. ---
  12. dirmngr/server.c | 2 ++
  13. 1 file changed, 2 insertions(+)
  14. diff --git a/dirmngr/server.c b/dirmngr/server.c
  15. index 51a149cb2..ee61f63d6 100644
  16. --- a/dirmngr/server.c
  17. +++ b/dirmngr/server.c
  18. @@ -2776,7 +2776,9 @@ cmd_ad_query (assuan_context_t ctx, char *line)
  19. if (opt_help)
  20. {
  21. +#if USE_LDAP
  22. ks_ldap_help_variables (ctrl);
  23. +#endif
  24. err = 0;
  25. goto leave;
  26. }
  27. --
  28. 2.11.0