diff options
author | Werner Koch <[email protected]> | 2017-02-21 12:57:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-02-21 12:57:24 +0000 |
commit | d1625a9a82b1e5d96bbbf2132c49c53108565ae1 (patch) | |
tree | 91ae85fb1eeda69b2e2b7b8ccde66529e7259c44 /dirmngr/validate.h | |
parent | dirmngr: Load "sks-keyservers.netCA.pem" into the cache. (diff) | |
download | gnupg-d1625a9a82b1e5d96bbbf2132c49c53108565ae1.tar.gz gnupg-d1625a9a82b1e5d96bbbf2132c49c53108565ae1.zip |
dirmngr: Load --hkp-cacert values into the certificate cache.
* dirmngr/dirmngr.c (hkp_cacert_filenames): New var.
(parse_rereadable_options): Store filenames from --hkp-cacert in the
new var.
(main, dirmngr_sighup_action): Pass that var to cert_cache_init.
* dirmngr/certcache.c (cert_cache_init): Add arg 'hkp_cacert' and load
those certs.
(load_certs_from_file): Use autodetect so that PEM and DER encodings
are possible.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/validate.h')
0 files changed, 0 insertions, 0 deletions