aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-22 11:52:38 -0500
committerJack Lloyd <[email protected]>2016-11-22 11:52:38 -0500
commite51d2d53f1ee27720fee34e5858054f9ac1418a8 (patch)
tree5ec7642225b93e194d2574506981f2ee57d6fe90 /src
parenta3f78cf901e71ced6eff3d49f6759d6d65798c12 (diff)
Add missing macro check in test
Diffstat (limited to 'src')
-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
}