aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_tss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_tss.cpp')
-rw-r--r--src/tests/test_tss.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/tests/test_tss.cpp b/src/tests/test_tss.cpp
index 23ea89b19..561336f9d 100644
--- a/src/tests/test_tss.cpp
+++ b/src/tests/test_tss.cpp
@@ -6,11 +6,10 @@
#include "tests.h"
-#include <botan/hex.h>
-#include <iostream>
-
#if defined(BOTAN_HAS_THRESHOLD_SECRET_SHARING)
+#include <iostream>
+#include <botan/hex.h>
#include <botan/tss.h>
size_t test_tss()
@@ -53,9 +52,7 @@ size_t test_tss()
return fails;
}
#else
-size_t test_tss()
- {
- std::cout << "Skipping TSS tests" << std::endl;
- return 1;
- }
-#endif
+
+SKIP_TEST(tss);
+
+#endif // BOTAN_HAS_THRESHOLD_SECRET_SHARING