diff options
author | Werner Koch <wk@gnupg.org> | 2020-10-05 17:21:55 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-10-05 17:25:42 +0200 |
commit | b258f8de7e9fc436d72c4d4ff8f98e9b86d2f3f5 (patch) | |
tree | fe1125f63cf23ea9cd4bcdbbaff128a7bdaf627a /dirmngr/crlfetch.h | |
parent | dirmngr: Add warning on the use of --add-servers. (diff) | |
download | gnupg2-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.h')
-rw-r--r-- | dirmngr/crlfetch.h | 6 |
1 files changed, 3 insertions, 3 deletions
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, |