aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/certcache.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-09-26 10:00:03 +0000
committerWerner Koch <[email protected]>2017-09-26 10:00:03 +0000
commitcd2d758f3f9e0007ecd6bae9d2ee0d631773e237 (patch)
tree0e1b9c898d0527969fa953e0f1fc418e610c8da4 /dirmngr/certcache.h
parentg10: Select a secret key by checking availability under gpg-agent. (diff)
parentpo: Remove trailing colon from a German pinentry string. (diff)
downloadgnupg-cd2d758f3f9e0007ecd6bae9d2ee0d631773e237.tar.gz
gnupg-cd2d758f3f9e0007ecd6bae9d2ee0d631773e237.zip
Merge branch 'STABLE-BRANCH-2-2' into master
-- Signed-off-by: Werner Koch <[email protected]> Conflicts: NEWS - include release info from 2.2.1 configure.ac - keep master.
Diffstat (limited to 'dirmngr/certcache.h')
-rw-r--r--dirmngr/certcache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dirmngr/certcache.h b/dirmngr/certcache.h
index 92529bf11..8d645836d 100644
--- a/dirmngr/certcache.h
+++ b/dirmngr/certcache.h
@@ -39,6 +39,9 @@ void cert_cache_deinit (int full);
/* Print some statistics to the log file. */
void cert_cache_print_stats (void);
+/* Return true if any cert of a class in MASK is permanently loaded. */
+int cert_cache_any_in_class (unsigned int mask);
+
/* Compute the fingerprint of the certificate CERT and put it into
the 20 bytes large buffer DIGEST. Return address of this buffer. */
unsigned char *cert_compute_fpr (ksba_cert_t cert, unsigned char *digest);