dirmngr: Prepare certcache for forthcoming changes.
authorWerner Koch <wk@gnupg.org>
Thu, 16 Feb 2017 10:51:57 +0000 (11:51 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 16 Feb 2017 10:51:57 +0000 (11:51 +0100)
commit5c4e67afd6385b48065de6a0f2dd0bfd936ab90b
tree70d2cd28dec3906206b2a6fa4ef28db574da1e1e
parent1af733f37bf6fd55ccac787a7e34c3b3ca002126
dirmngr: Prepare certcache for forthcoming changes.

* dirmngr/certcache.c (cert_item_s): Rename 'flags.loaded' to
'flags.config'.  Add 'flags.systrust'.
(total_loaded_certificates): Rename to total_config_certificates.
(put_cert): Rename args for clarity.  Set SYSTRUST flag.
(load_certs_from_dir): Make sure put_cert does not set the SYSTRUST
flag.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/certcache.c