aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/test_workfactor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test_workfactor.cpp b/src/tests/test_workfactor.cpp
index d9ad38e23..b0a140692 100644
--- a/src/tests/test_workfactor.cpp
+++ b/src/tests/test_workfactor.cpp
@@ -12,6 +12,7 @@
namespace Botan_Tests {
+#if defined(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
class PK_Workfactor_Tests : public Text_Based_Test
{
public:
@@ -41,5 +42,6 @@ class PK_Workfactor_Tests : public Text_Based_Test
};
BOTAN_REGISTER_TEST("pk_workfactor", PK_Workfactor_Tests);
+#endif
}