diff options
author | Ingo Klöcker <[email protected]> | 2022-04-27 15:21:04 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-04-27 15:21:04 +0000 |
commit | dea872f21ff77cd58bafe0966d89d6331c8d2e07 (patch) | |
tree | 9df3abcc503e3027c998cd0ee105a2496396c91c /lang/cpp/src/context.cpp | |
parent | core: Support --locate-external-keys command of gpg (diff) | |
download | gpgme-dea872f21ff77cd58bafe0966d89d6331c8d2e07.tar.gz gpgme-dea872f21ff77cd58bafe0966d89d6331c8d2e07.zip |
cpp: Support new keylist modes
* lang/cpp/src/global.h (ForceExtern, LocateExternal, KeyListModeMask):
New.
* lang/cpp/src/context.cpp (operator<<): Add check.
* lang/cpp/src/util.h (gpgme_keylist_mode_t,
convert_from_gpgme_keylist_mode_t): Handle ForceExtern.
* lang/cpp/tests/run-getkey.cpp (show_usage, main): Add arguments
--force-extern and --locate-external.
* lang/cpp/tests/run-keylist.cpp (show_usage, main): Ditto.
--
GnuPG-bug-id: 5951
Diffstat (limited to 'lang/cpp/src/context.cpp')
-rw-r--r-- | lang/cpp/src/context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp index 6d840f06..89bc3fd7 100644 --- a/lang/cpp/src/context.cpp +++ b/lang/cpp/src/context.cpp @@ -1849,6 +1849,7 @@ std::ostream &operator<<(std::ostream &os, KeyListMode mode) CHECK(WithTofu); CHECK(WithKeygrip); CHECK(WithSecret); + CHECK(ForceExtern); #undef CHECK return os << ')'; } |