dirmngr: Silence log output from dirmngr_ldap.
authorWerner Koch <wk@gnupg.org>
Fri, 27 Apr 2018 09:57:08 +0000 (11:57 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 27 Apr 2018 09:57:08 +0000 (11:57 +0200)
commitd22506a343cec61b7d1a48c970b63a8458b267ab
tree349bcfba06d424cb0bee8d751a95c4667430deb2
parent5789afc840cf79ba2a8cebd9d772ef9c3868c5e9
dirmngr: Silence log output from dirmngr_ldap.

* dirmngr/dirmngr_ldap.c: Remove assert.h.
(main): Replace assert by log_assert.
* dirmngr/ldap.c (run_ldap_wrapper): Use debug options to pass
verbose options to dirmngr_ldap.
(start_cert_fetch_ldap): Ditto.
--

verbose is a pretty common option in dirmngr.conf and it would clutter
the logs with output from dirmngr_ldap.  Now we require DBG_EXTPROG
or DBG_LOOKUP to make dirmngr_ldap more verbose.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dirmngr.c
dirmngr/dirmngr_ldap.c
dirmngr/ldap.c