aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_modes.cpp
diff options
context:
space:
mode:
authorTomasz Frydrych <[email protected]>2017-05-01 15:03:52 +0200
committerTomasz Frydrych <[email protected]>2017-05-01 15:03:52 +0200
commit87c0fae706140b0a2a7a3fda9dd813474172fa2a (patch)
tree28930efab4d290dcebb89666d46050edd06703fd /src/tests/test_modes.cpp
parent29cc6bebe132a34f882d450b35a69bf71bb3e27b (diff)
Reformat code with astyle + fix code style
Diffstat (limited to 'src/tests/test_modes.cpp')
-rw-r--r--src/tests/test_modes.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/tests/test_modes.cpp b/src/tests/test_modes.cpp
index 63edba5f1..74b04f7ac 100644
--- a/src/tests/test_modes.cpp
+++ b/src/tests/test_modes.cpp
@@ -8,7 +8,7 @@
#include "tests.h"
#if defined(BOTAN_HAS_MODES)
- #include <botan/cipher_mode.h>
+ #include <botan/cipher_mode.h>
#endif
namespace Botan_Tests {
@@ -18,9 +18,8 @@ namespace Botan_Tests {
class Cipher_Mode_Tests : public Text_Based_Test
{
public:
- Cipher_Mode_Tests() :
- Text_Based_Test("modes", "Key,Nonce,In,Out")
- {}
+ Cipher_Mode_Tests()
+ : Text_Based_Test("modes", "Key,Nonce,In,Out") {}
std::vector<std::string> possible_providers(const std::string& algo) override
{
@@ -47,9 +46,9 @@ class Cipher_Mode_Tests : public Text_Based_Test
for(auto&& provider_ask : providers)
{
std::unique_ptr<Botan::Cipher_Mode> enc(Botan::get_cipher_mode(
- algo, Botan::ENCRYPTION, provider_ask));
+ algo, Botan::ENCRYPTION, provider_ask));
std::unique_ptr<Botan::Cipher_Mode> dec(Botan::get_cipher_mode(
- algo, Botan::DECRYPTION, provider_ask));
+ algo, Botan::DECRYPTION, provider_ask));
if(!enc || !dec)
{