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:
parent
0b532627e8
commit
598884699d
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user