diff options
author | Ingo Klöcker <[email protected]> | 2024-05-24 08:47:15 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2024-05-24 08:47:15 +0000 |
commit | f0d1f2c4c746d6f98643772b4864c09f3642cd83 (patch) | |
tree | 6348dacfbb5f42e946902dc42436d165fb8df904 /lang/cpp/tests/run-keylist.cpp | |
parent | qt,cpp: Implement adding ADSKs to existing keys (diff) | |
parent | cpp: Add information about revocation keys to Key (diff) | |
download | gpgme-f0d1f2c4c746d6f98643772b4864c09f3642cd83.tar.gz gpgme-f0d1f2c4c746d6f98643772b4864c09f3642cd83.zip |
Merge branch 'ikloecker/t7118-revkeys'
Diffstat (limited to 'lang/cpp/tests/run-keylist.cpp')
-rw-r--r-- | lang/cpp/tests/run-keylist.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/cpp/tests/run-keylist.cpp b/lang/cpp/tests/run-keylist.cpp index 9e7d763c..b46a815a 100644 --- a/lang/cpp/tests/run-keylist.cpp +++ b/lang/cpp/tests/run-keylist.cpp @@ -160,7 +160,10 @@ main (int argc, char **argv) std::stringstream ss; do { key = ctx->nextKey(err); - ss << key << "\n\n"; + if (!err) + { + ss << key << "\n\n"; + } } while (!err && !key.isNull()); std::cout << ss.str(); |