diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-14 09:45:22 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-14 09:45:22 +0200 |
commit | 598884699dfc5966cd70f32c77fb454f26df63ff (patch) | |
tree | d8d9406c0747f8d0f5f7227ae905eedd3679d602 /dirmngr | |
parent | common: Fix t-recsel. (diff) | |
download | gnupg2-598884699dfc5966cd70f32c77fb454f26df63ff.tar.xz gnupg2-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 <gniibe@fsij.org>
Diffstat (limited to 'dirmngr')
-rw-r--r-- | dirmngr/ks-action.c | 4 | ||||
-rw-r--r-- | dirmngr/server.c | 3 |
2 files changed, 7 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) { diff --git a/dirmngr/server.c b/dirmngr/server.c index 2928a2596..a22a2f45c 100644 --- a/dirmngr/server.c +++ b/dirmngr/server.c @@ -2127,6 +2127,9 @@ make_keyserver_item (const char *uri, uri_item_t *r_item) gpg_error_t err; uri_item_t item; char *tmpstr = NULL; +#if USE_LDAP + const char *s; +#endif *r_item = NULL; |