mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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: 3d7dbf1661
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
0b532627e8
commit
598884699d
2 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue