aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-action.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-09-14 07:45:22 +0000
committerNIIBE Yutaka <[email protected]>2022-09-14 07:45:22 +0000
commit598884699dfc5966cd70f32c77fb454f26df63ff (patch)
treed8d9406c0747f8d0f5f7227ae905eedd3679d602 /dirmngr/ks-action.c
parentcommon: Fix t-recsel. (diff)
downloadgnupg-598884699dfc5966cd70f32c77fb454f26df63ff.tar.gz
gnupg-598884699dfc5966cd70f32c77fb454f26df63ff.zip
dirmngr: Fix for USE_LDAP.
* dirmngr/ks-action.c [USE_LDAP] (ks_action_help): Recover variables. * dirmngr/server.c [USE_LDAP] (dirmngr/server.c): Likewise. -- Fixes-commit: 3d7dbf16618db4d0dc602daadbde098d4a14b528 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/ks-action.c')
-rw-r--r--dirmngr/ks-action.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dirmngr/ks-action.c b/dirmngr/ks-action.c
index 45d0b0b13..c5374a996 100644
--- a/dirmngr/ks-action.c
+++ b/dirmngr/ks-action.c
@@ -67,6 +67,10 @@ ks_action_help (ctrl_t ctrl, const char *url)
{
gpg_error_t err;
parsed_uri_t parsed_uri; /* The broken down URI. */
+#if USE_LDAP
+ char *tmpstr;
+ const char *s;
+#endif
if (!url || !*url)
{