aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_tls.cpp
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2015-12-22 21:50:43 +0100
committerDaniel Neus <[email protected]>2015-12-22 21:50:43 +0100
commitaedb8d8ef646ed480296eb0a53513c74475cef08 (patch)
treeb57a9fc558d859baf39730278b7f56d881c31e6e /src/tests/unit_tls.cpp
parenta589d7a2ede70871d3f563ed34cdd3c10046e5c2 (diff)
some trivial compiler/PVS-Studio warning fixes
Diffstat (limited to 'src/tests/unit_tls.cpp')
-rw-r--r--src/tests/unit_tls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp
index 0ff85bb29..3996b36b0 100644
--- a/src/tests/unit_tls.cpp
+++ b/src/tests/unit_tls.cpp
@@ -530,7 +530,7 @@ Test::Result test_dtls_handshake(Botan::TLS::Protocol_Version offer_version,
needed = client.received_data(input.data(), input.size());
}
}
- catch(std::exception& e)
+ catch(std::exception&)
{
result.test_note("corruption caused server exception");
}
@@ -570,7 +570,7 @@ Test::Result test_dtls_handshake(Botan::TLS::Protocol_Version offer_version,
needed = client.received_data(input.data(), input.size());
}
}
- catch(std::exception& e)
+ catch(std::exception&)
{
result.test_note("corruption caused client exception");
}