aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-02-13 15:09:31 +0000
committerlloyd <[email protected]>2014-02-13 15:09:31 +0000
commit9168b5747037b7cde74e3bb60ffce6bf27be910b (patch)
tree2c4408665ca27de7a96ab9c46a048363a34ad7a0 /src/tests
parent6af80db3b7697461e3f24d6ff7a306b1b9eea8a4 (diff)
Cleanups
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_bigint.cpp6
-rw-r--r--src/tests/test_tss.cpp12
2 files changed, 0 insertions, 18 deletions
diff --git a/src/tests/test_bigint.cpp b/src/tests/test_bigint.cpp
index b71e0af2d..87de4aff3 100644
--- a/src/tests/test_bigint.cpp
+++ b/src/tests/test_bigint.cpp
@@ -28,12 +28,6 @@ void strip_comments(std::string& line)
line = line.erase(line.find('#'), std::string::npos);
}
-void strip_newlines(std::string& line)
- {
- while(line.find('\n') != std::string::npos)
- line = line.erase(line.find('\n'), 1);
- }
-
/* Strip comments, whitespace, etc */
void strip(std::string& line)
{
diff --git a/src/tests/test_tss.cpp b/src/tests/test_tss.cpp
index 38d9dfbfa..7645af399 100644
--- a/src/tests/test_tss.cpp
+++ b/src/tests/test_tss.cpp
@@ -8,23 +8,11 @@
#include <botan/auto_rng.h>
#include <botan/hex.h>
#include <iostream>
-#include <stdio.h>
#if defined(BOTAN_HAS_THRESHOLD_SECRET_SHARING)
#include <botan/tss.h>
-namespace {
-
-void print(const Botan::secure_vector<Botan::byte>& r)
- {
- for(Botan::u32bit i = 0; i != r.size(); ++i)
- printf("%02X", r[i]);
- printf("\n");
- }
-
-}
-
size_t test_tss()
{
using namespace Botan;