mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
dirmngr: Remove useless code.
* dirmngr/ks-engine-ldap.c (my_ldap_connect): Remove the password_param thing because we set the password directly without an intermediate var. -- Reported-by: Ingo Kloecker (cherry picked from commit 8bd5172539e1399b407aa2a9d56fa51b8e040ae3)
This commit is contained in:
parent
0426e6e869
commit
bcb9931562
@ -543,11 +543,6 @@ my_ldap_connect (parsed_uri_t uri, LDAP **ldap_connp,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
struct uri_tuple_s *password_param;
|
|
||||||
|
|
||||||
password_param = uri_query_lookup (uri, "password");
|
|
||||||
password = password_param ? password_param->value : NULL;
|
|
||||||
|
|
||||||
host = uri->host;
|
host = uri->host;
|
||||||
port = uri->port;
|
port = uri->port;
|
||||||
bindname = uri->auth;
|
bindname = uri->auth;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user