summaryrefslogtreecommitdiffstats
path: root/dirmngr/crlfetch.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-10-05 17:21:55 +0200
committerWerner Koch <wk@gnupg.org>2020-10-05 17:25:42 +0200
commitb258f8de7e9fc436d72c4d4ff8f98e9b86d2f3f5 (patch)
treefe1125f63cf23ea9cd4bcdbbaff128a7bdaf627a /dirmngr/crlfetch.c
parentdirmngr: Add warning on the use of --add-servers. (diff)
downloadgnupg2-b258f8de7e9fc436d72c4d4ff8f98e9b86d2f3f5.tar.xz
gnupg2-b258f8de7e9fc436d72c4d4ff8f98e9b86d2f3f5.zip
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 <wk@gnupg.org>
Diffstat (limited to 'dirmngr/crlfetch.c')
-rw-r--r--dirmngr/crlfetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/crlfetch.c b/dirmngr/crlfetch.c
index 7da3d8b6e..c8091f6f6 100644
--- a/dirmngr/crlfetch.c
+++ b/dirmngr/crlfetch.c
@@ -302,7 +302,7 @@ ca_cert_fetch (ctrl_t ctrl, cert_fetch_context_t *context, const char *dn)
return gpg_error (GPG_ERR_NOT_SUPPORTED);
}
#if USE_LDAP
- return start_default_fetch_ldap (ctrl, context, dn, "cACertificate");
+ return start_cacert_fetch_ldap (ctrl, context, dn);
#else
(void)ctrl;
(void)context;