diff options
author | Werner Koch <[email protected]> | 2021-06-04 05:49:00 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-06-04 05:49:00 +0000 |
commit | 8bd5172539e1399b407aa2a9d56fa51b8e040ae3 (patch) | |
tree | 5a506f856b54c5ea5625e32a1351f887fa40fbb1 | |
parent | sm: Support AES-GCM decryption. (diff) | |
download | gnupg-8bd5172539e1399b407aa2a9d56fa51b8e040ae3.tar.gz gnupg-8bd5172539e1399b407aa2a9d56fa51b8e040ae3.zip |
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
-rw-r--r-- | dirmngr/ks-engine-ldap.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dirmngr/ks-engine-ldap.c b/dirmngr/ks-engine-ldap.c index ad54e2749..af67a5de9 100644 --- a/dirmngr/ks-engine-ldap.c +++ b/dirmngr/ks-engine-ldap.c @@ -546,11 +546,6 @@ my_ldap_connect (parsed_uri_t uri, LDAP **ldap_connp, } else { - struct uri_tuple_s *password_param; - - password_param = uri_query_lookup (uri, "password"); - password = password_param ? password_param->value : NULL; - host = uri->host; port = uri->port; bindname = uri->auth; |