aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
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;