aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-07-12 08:09:14 +0000
committerNIIBE Yutaka <[email protected]>2018-07-12 08:09:14 +0000
commite8caa282d3d5f286919a1ed3db6699c555b7e89d (patch)
tree1762014bacef69c542923f55dfe83a2f925d7999 /agent/agent.h
parentg10: Fix enum_secret_keys for card keys. (diff)
parentgpg: Remove multiple subkey bindings during export-clean. (diff)
downloadgnupg-gniibe/decryption-key.tar.gz
gnupg-gniibe/decryption-key.zip
Merge branch 'master' into gniibe/decryption-keygniibe/decryption-key
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 9fdbc76d3..9baf59601 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -304,11 +304,12 @@ enum
typedef enum
{
CACHE_MODE_IGNORE = 0, /* Special mode to bypass the cache. */
- CACHE_MODE_ANY, /* Any mode except ignore matches. */
+ CACHE_MODE_ANY, /* Any mode except ignore and data matches. */
CACHE_MODE_NORMAL, /* Normal cache (gpg-agent). */
CACHE_MODE_USER, /* GET_PASSPHRASE related cache. */
CACHE_MODE_SSH, /* SSH related cache. */
- CACHE_MODE_NONCE /* This is a non-predictable nonce. */
+ CACHE_MODE_NONCE, /* This is a non-predictable nonce. */
+ CACHE_MODE_DATA /* Arbitrary data. */
}
cache_mode_t;