summaryrefslogtreecommitdiff
path: root/datatest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-07-24 19:28:01 -0400
committerJeffrey Walton <noloader@gmail.com>2016-07-24 19:28:01 -0400
commit06a7abc9c8b72ad0954d3e7c216aba5d87e27be1 (patch)
treeaeb583ad5ba4f60430c9defdc11a6a695d91deff /datatest.cpp
parent8213936b55820f6096a7bb768e139984e4bc090e (diff)
downloadcryptopp-git-06a7abc9c8b72ad0954d3e7c216aba5d87e27be1.tar.gz
Whitespace cleanup
Diffstat (limited to 'datatest.cpp')
-rw-r--r--datatest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/datatest.cpp b/datatest.cpp
index 97a0fbd6..315b93da 100644
--- a/datatest.cpp
+++ b/datatest.cpp
@@ -24,7 +24,7 @@
#endif
#if defined(__COVERITY__)
-extern "C" void __coverity_tainted_data_sanitize__(void *);
+extern "C" void __coverity_tainted_data_sanitize__(void *);
#endif
USING_NAMESPACE(CryptoPP)
@@ -113,7 +113,7 @@ void PutDecodedDatumInto(const TestData &data, const char *name, BufferedTransfo
repeat = atoi(s1.c_str()+1);
s1 = s1.substr(s1.find(' ')+1);
}
-
+
s2 = ""; // MSVC 6 doesn't have clear();
if (s1[0] == '\"')
@@ -184,9 +184,9 @@ public:
else
return false;
}
-
+
const std::string &value = i->second;
-
+
if (valueType == typeid(int))
*reinterpret_cast<int *>(pValue) = atoi(value.c_str());
else if (valueType == typeid(Integer))
@@ -637,7 +637,7 @@ void TestKeyDerivationFunction(TestData &v)
reinterpret_cast<const byte*>(key.data()), key.size(),
reinterpret_cast<const byte*>(salt.data()), salt.size(),
reinterpret_cast<const byte*>(info.data()), info.size());
-
+
if(calc != derived || ret != length)
SignalTestFailure();
}