aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-03 17:53:23 +0000
committerlloyd <[email protected]>2010-03-03 17:53:23 +0000
commitabbd349e79e1548a5934fb5a2bb7e93388679613 (patch)
treeda2a786a083a29f2c5a1c3d82e4fe16467179a0e /checks
parent6cf657ac72a8ace3ccf88d12a32e6507a164ba11 (diff)
Avoid warnings under VC++ in ECC tests
Diffstat (limited to 'checks')
-rw-r--r--checks/ec_tests.cpp2
-rw-r--r--checks/ecdsa.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/checks/ec_tests.cpp b/checks/ec_tests.cpp
index 0b14654c3..f378de8a4 100644
--- a/checks/ec_tests.cpp
+++ b/checks/ec_tests.cpp
@@ -741,7 +741,7 @@ void test_cdc_curve_33()
{
p_G.check_invariants();
}
- catch (std::exception& e)
+ catch (std::exception)
{
exc = true;
}
diff --git a/checks/ecdsa.cpp b/checks/ecdsa.cpp
index 40f19ad1b..5dcd90efd 100644
--- a/checks/ecdsa.cpp
+++ b/checks/ecdsa.cpp
@@ -439,7 +439,7 @@ void test_read_pkcs8(RandomNumberGenerator& rng)
std::cout << "Unexpected success: loaded key with unknown OID\n";
}
- catch (std::exception& e) { /* OK */ }
+ catch (std::exception) { /* OK */ }
}
catch (std::exception& e)
{