aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-18 18:17:08 +0000
committerlloyd <[email protected]>2014-01-18 18:17:08 +0000
commitb96ad4c05c0a8f835b54ef4e2cff849c749409b0 (patch)
treed8a5805e6d85cd66d2336f624f0cbeaaf1d5bed3 /src/tests
parent6b457468faa88180142de9bd2ba0fee90be43463 (diff)
Split off the keyed interfaces of transform to Keyed_Transform
Remove the unhelpful 'Algorithm' base class which had previously acted more or less as a global base.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_transform.cpp2
-rw-r--r--src/tests/tests.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_transform.cpp b/src/tests/test_transform.cpp
index 5d3c4dc3f..7e771d051 100644
--- a/src/tests/test_transform.cpp
+++ b/src/tests/test_transform.cpp
@@ -23,7 +23,7 @@ secure_vector<byte> transform_test(const std::string& algo,
{
std::unique_ptr<Transformation> transform(get_transform(algo));
- transform->set_key(key);
+ //transform->set_key(key);
transform->start_vec(nonce);
secure_vector<byte> out = in;
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp
index 0d21075d8..ed20aef3e 100644
--- a/src/tests/tests.cpp
+++ b/src/tests/tests.cpp
@@ -269,7 +269,7 @@ int main(int argc, char* argv[])
if(tests.empty())
{
- std::cout << "No tests selected by target " << target << "\n";
+ std::cout << "No tests selected by target '" << target << "'\n";
return 1;
}