From b258f8de7e9fc436d72c4d4ff8f98e9b86d2f3f5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 5 Oct 2020 17:21:55 +0200 Subject: dirmngr: Minor cleanup for better readability. * dirmngr/ldap.c (start_default_fetch_ldap): Rename to start_cacert_fetch_ldap and remove arg attr. Instead use "cACertificate" directly. * dirmngr/crlfetch.c (ca_cert_fetch): Change the only caller. (start_cert_fetch_ldap): Rename arg for clarity. Signed-off-by: Werner Koch --- dirmngr/crlfetch.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dirmngr/crlfetch.h') diff --git a/dirmngr/crlfetch.h b/dirmngr/crlfetch.h index cf4a3c0aa..3822adb54 100644 --- a/dirmngr/crlfetch.h +++ b/dirmngr/crlfetch.h @@ -69,9 +69,9 @@ gpg_error_t attr_fetch_ldap (ctrl_t ctrl, ksba_reader_t *reader); -gpg_error_t start_default_fetch_ldap (ctrl_t ctrl, - cert_fetch_context_t *context, - const char *dn, const char *attr); +gpg_error_t start_cacert_fetch_ldap (ctrl_t ctrl, + cert_fetch_context_t *context, + const char *dn); gpg_error_t start_cert_fetch_ldap( ctrl_t ctrl, cert_fetch_context_t *context, strlist_t patterns, -- cgit v1.2.3