1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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>
This commit is contained in:
NIIBE Yutaka 2022-09-14 16:45:22 +09:00
parent 0b532627e8
commit 598884699d
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054
2 changed files with 7 additions and 0 deletions

View File

@ -67,6 +67,10 @@ ks_action_help (ctrl_t ctrl, const char *url)
{ {
gpg_error_t err; gpg_error_t err;
parsed_uri_t parsed_uri; /* The broken down URI. */ parsed_uri_t parsed_uri; /* The broken down URI. */
#if USE_LDAP
char *tmpstr;
const char *s;
#endif
if (!url || !*url) if (!url || !*url)
{ {

View File

@ -2127,6 +2127,9 @@ make_keyserver_item (const char *uri, uri_item_t *r_item)
gpg_error_t err; gpg_error_t err;
uri_item_t item; uri_item_t item;
char *tmpstr = NULL; char *tmpstr = NULL;
#if USE_LDAP
const char *s;
#endif
*r_item = NULL; *r_item = NULL;