diff options
author | Daniel Neus <[email protected]> | 2015-12-22 21:50:43 +0100 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2015-12-22 21:50:43 +0100 |
commit | aedb8d8ef646ed480296eb0a53513c74475cef08 (patch) | |
tree | b57a9fc558d859baf39730278b7f56d881c31e6e /src/tests/test_aead.cpp | |
parent | a589d7a2ede70871d3f563ed34cdd3c10046e5c2 (diff) |
some trivial compiler/PVS-Studio warning fixes
Diffstat (limited to 'src/tests/test_aead.cpp')
-rw-r--r-- | src/tests/test_aead.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_aead.cpp b/src/tests/test_aead.cpp index 5d7e1094e..a31996fad 100644 --- a/src/tests/test_aead.cpp +++ b/src/tests/test_aead.cpp @@ -71,7 +71,7 @@ class AEAD_Tests : public Text_Based_Test dec->finish(buf); result.test_failure("accepted modified message", mutated_input); } - catch(Botan::Integrity_Failure& e) + catch(Botan::Integrity_Failure&) { result.test_note("correctly rejected modified message"); } @@ -93,7 +93,7 @@ class AEAD_Tests : public Text_Based_Test dec->finish(buf); result.test_failure("accepted message with modified nonce", bad_nonce); } - catch(Botan::Integrity_Failure& e) + catch(Botan::Integrity_Failure&) { result.test_note("correctly rejected modified nonce"); } @@ -115,7 +115,7 @@ class AEAD_Tests : public Text_Based_Test dec->finish(buf); result.test_failure("accepted message with modified ad", bad_ad); } - catch(Botan::Integrity_Failure& e) + catch(Botan::Integrity_Failure&) { result.test_note("correctly rejected modified ad"); } |