dirmngr: New option --ignore-cert
* dirmngr/dirmngr.h (struct fingerprint_list_s): Add field binlen. (opt): Add field ignored_certs. * dirmngr/dirmngr.c: Add option --ignore-cert (parse_rereadable_options): Handle that option. (parse_ocsp_signer): Rename to ... (parse_fingerprint_item): this and add two args. * dirmngr/certcache.c (put_cert): Ignore all to be igored certs. Change callers to handle the new error return.
This option is useful as a workaround in case we ill run into other
chain validation errors like what we fixed in
Backported-from-master: 4b3e9a44b58e74b3eb4a59f88ee017fe7483a17d
- GnuPG-bug-id: T5639