aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2020-09-07 09:55:07 +0000
committerIngo Klöcker <[email protected]>2020-09-07 09:55:07 +0000
commit188cc9e9b553998d2a8ec52bd8282365e22bf400 (patch)
treec47ac66ef24dfdd647843e347f1e1f885a5cc614 /lang/cpp/src/context.cpp
parentcpp: Add missing keylist modes (diff)
downloadgpgme-188cc9e9b553998d2a8ec52bd8282365e22bf400.tar.gz
gpgme-188cc9e9b553998d2a8ec52bd8282365e22bf400.zip
cpp: Add keylist mode WithSecret
* lang/cpp/src/global.h (WithSecret): New. * lang/cpp/src/context.cpp (operator<<): Handle WithSecret. * lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t, convert_from_gpgme_keylist_mode_t): Ditto. -- GnuPG-bug-id: 4794
Diffstat (limited to 'lang/cpp/src/context.cpp')
-rw-r--r--lang/cpp/src/context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp
index 7b386801..6dd6b6db 100644
--- a/lang/cpp/src/context.cpp
+++ b/lang/cpp/src/context.cpp
@@ -1695,6 +1695,7 @@ std::ostream &operator<<(std::ostream &os, KeyListMode mode)
CHECK(Ephemeral);
CHECK(WithTofu);
CHECK(WithKeygrip);
+ CHECK(WithSecret);
#undef CHECK
return os << ')';
}