diff options
author | Werner Koch <[email protected]> | 2022-09-16 14:45:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-09-16 14:49:55 +0000 |
commit | 0c8299e2b56ef2e1d241a7cf4bf630993e4ec39f (patch) | |
tree | 7f99dde7fa69f3c5f6c5dcec3e0d45c57aa854e3 /dirmngr/workqueue.c | |
parent | doc: Keep list of RFCs only in DETAILS (diff) | |
download | gnupg-0c8299e2b56ef2e1d241a7cf4bf630993e4ec39f.tar.gz gnupg-0c8299e2b56ef2e1d241a7cf4bf630993e4ec39f.zip |
dirmngr: Fix CRL DP error fallback to other schemes.
* dirmngr/crlcache.c (crl_cache_reload_crl): Rework the double loop.
Remove the unused issuername_uri stuff.
--
It is quite common that LDAP servers are blocked and thuis the HTTP
access point should be used instead. This worked well for
certificates where the DP are given in this form:
crlDP: ldap://x500.bund.de/[...]
http://x500.bund.de/[...]
issuer: none
but it failed for this form
crlDP: ldap://x500.bund.de/[...]
issuer: none
crlDP: http://x500.bund.de/[...]
issuer: none
because the LAST_ERR thing terminated the outer loop. This pacth
fixes this and also cleans up the code to be more robust.
Note that the common workaround of using --ignore-ldap-dp will now
only be needed if the firewall uses packet dropping instead of proper
ICMP rejects.
Diffstat (limited to 'dirmngr/workqueue.c')
0 files changed, 0 insertions, 0 deletions