From 188cc9e9b553998d2a8ec52bd8282365e22bf400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Mon, 7 Sep 2020 11:55:07 +0200 Subject: 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 --- lang/cpp/src/context.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/cpp/src/context.cpp') 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 << ')'; } -- cgit v1.2.3