aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/global.h
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-25 14:17:46 +0000
committerAndre Heinecke <[email protected]>2016-08-25 14:17:46 +0000
commitf311b92ceaedb12c9e00a722b6b47bbe6b50871e (patch)
treedf8c130b1a7213d6e4eb48872bf73a01bb0b09c4 /lang/cpp/src/global.h
parentqt: Fix tofuinfo test when gpg is gpg2 (diff)
downloadgpgme-f311b92ceaedb12c9e00a722b6b47bbe6b50871e.tar.gz
gpgme-f311b92ceaedb12c9e00a722b6b47bbe6b50871e.zip
cpp: Add WithTofu Keylist Mode
* lang/cpp/src/context.cpp: Handle WithTofu. * lang/cpp/src/global.h (KeyListMode): Add WithTofu. * lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t): Handle WithTofu.
Diffstat (limited to 'lang/cpp/src/global.h')
-rw-r--r--lang/cpp/src/global.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/cpp/src/global.h b/lang/cpp/src/global.h
index 3f12323a..15cc027c 100644
--- a/lang/cpp/src/global.h
+++ b/lang/cpp/src/global.h
@@ -61,7 +61,8 @@ enum KeyListMode {
Signatures = 0x4,
SignatureNotations = 0x8,
Validate = 0x10,
- Ephemeral = 0x20
+ Ephemeral = 0x20,
+ WithTofu = 0x40
};
enum SignatureMode { NormalSignatureMode, Detached, Clearsigned };