aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Boric <[email protected]>2019-10-02 16:03:49 +0200
committerMichael Boric <[email protected]>2019-10-02 16:03:49 +0200
commit934162502b0b0cf4d9a4d16fcd3e0346a482c1b2 (patch)
tree7b7da023d64618dcc582824e3178a802c8905fe7 /src
parent45d85042aaaea7e4924c598cd0908b39a8df2d76 (diff)
fixing indentation to match botan style
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_pkcs11_high_level.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/tests/test_pkcs11_high_level.cpp b/src/tests/test_pkcs11_high_level.cpp
index 7d2ee56e8..2d6fd947f 100644
--- a/src/tests/test_pkcs11_high_level.cpp
+++ b/src/tests/test_pkcs11_high_level.cpp
@@ -153,25 +153,25 @@ std::vector<Test::Result> run_pkcs11_tests(
std::vector<Test::Result> results;
for(size_t i = 0; i != fns.size(); ++i)
- {
- try
- {
- results.push_back(fns[i].second());
- }
- catch(Botan::PKCS11::PKCS11_ReturnError& e)
{
- results.push_back(Test::Result::Failure(name + " test " + fns[i].first, e.what()));
+ try
+ {
+ results.push_back(fns[i].second());
+ }
+ catch(Botan::PKCS11::PKCS11_ReturnError& e)
+ {
+ results.push_back(Test::Result::Failure(name + " test " + fns[i].first, e.what()));
- if(e.get_return_value() == Botan::PKCS11::ReturnValue::PinIncorrect)
- {
- break; // Do not continue to not potentially lock the token
- }
- }
- catch(std::exception& e)
- {
- results.push_back(Test::Result::Failure(name + " test " + fns[i].first, e.what()));
+ if(e.get_return_value() == Botan::PKCS11::ReturnValue::PinIncorrect)
+ {
+ break; // Do not continue to not potentially lock the token
+ }
+ }
+ catch(std::exception& e)
+ {
+ results.push_back(Test::Result::Failure(name + " test " + fns[i].first, e.what()));
+ }
}
- }
return results;
}