aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_srp6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_srp6.cpp')
-rw-r--r--src/tests/test_srp6.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tests/test_srp6.cpp b/src/tests/test_srp6.cpp
index fcc049c11..dd05d02a5 100644
--- a/src/tests/test_srp6.cpp
+++ b/src/tests/test_srp6.cpp
@@ -1,4 +1,7 @@
#include "tests.h"
+
+#if defined(BOTAN_HAS_SRP6)
+
#include <botan/srp6.h>
#include <iostream>
@@ -37,3 +40,9 @@ size_t test_srp6()
return fails;
}
+
+#else
+
+SKIP_TEST(srp6);
+
+#endif // BOTAN_HAS_SRP6