diff options
author | Andre Heinecke <[email protected]> | 2017-07-10 15:27:24 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2017-07-10 15:27:24 +0000 |
commit | fe79eb8de3dc780eafb38a0a0a016748e764ff04 (patch) | |
tree | 55f6a0b48e73eda306f91bafe8a197fbcadb27ed /lang/cpp/src | |
parent | Fix some shadow warnings (diff) | |
download | gpgme-fe79eb8de3dc780eafb38a0a0a016748e764ff04.tar.gz gpgme-fe79eb8de3dc780eafb38a0a0a016748e764ff04.zip |
Add isDeVs to ostream operator
* lang/cpp/src/decryptionresult.cpp,
lang/cpp/src/verificationresult.cpp: Extend ostream operator
to include isDeVs.
Diffstat (limited to 'lang/cpp/src')
-rw-r--r-- | lang/cpp/src/decryptionresult.cpp | 1 | ||||
-rw-r--r-- | lang/cpp/src/verificationresult.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lang/cpp/src/decryptionresult.cpp b/lang/cpp/src/decryptionresult.cpp index d1c991be..1e815cbe 100644 --- a/lang/cpp/src/decryptionresult.cpp +++ b/lang/cpp/src/decryptionresult.cpp @@ -230,6 +230,7 @@ std::ostream &GpgME::operator<<(std::ostream &os, const DecryptionResult &result << "\n fileName: " << protect(result.fileName()) << "\n unsupportedAlgorithm: " << protect(result.unsupportedAlgorithm()) << "\n isWrongKeyUsage: " << result.isWrongKeyUsage() + << "\n isDeVs " << result.isDeVs() << "\n recipients:\n"; const std::vector<DecryptionResult::Recipient> recipients = result.recipients(); std::copy(recipients.begin(), recipients.end(), diff --git a/lang/cpp/src/verificationresult.cpp b/lang/cpp/src/verificationresult.cpp index 6dacd9fb..2c42d074 100644 --- a/lang/cpp/src/verificationresult.cpp +++ b/lang/cpp/src/verificationresult.cpp @@ -590,6 +590,7 @@ std::ostream &GpgME::operator<<(std::ostream &os, const Signature &sig) << "\n publicKeyAlgorithm: " << protect(sig.publicKeyAlgorithmAsString()) << "\n hashAlgorithm: " << protect(sig.hashAlgorithmAsString()) << "\n policyURL: " << protect(sig.policyURL()) + << "\n isDeVs " << sig.isDeVs() << "\n notations:\n"; const std::vector<Notation> nota = sig.notations(); std::copy(nota.begin(), nota.end(), |