aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpg.h')
-rw-r--r--g10/gpg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/g10/gpg.h b/g10/gpg.h
index d4e66e72d..c51bbbb46 100644
--- a/g10/gpg.h
+++ b/g10/gpg.h
@@ -110,6 +110,14 @@ struct server_control_s
/* This is used to cache a key data base handle. */
KEYDB_HANDLE cached_getkey_kdb;
+
+ /* Cached results from HAVEKEY --list. They are used if the pointer
+ * is not NULL. The length gives the length in bytes and is a
+ * multiple of 20. If the no_more flag is set the list shall not
+ * anymore be refreshed even if it has been freed and NULLed. */
+ unsigned char *secret_keygrips;
+ size_t secret_keygrips_len;
+ int no_more_secret_keygrips;
};