25 lines
396 B
Diff
25 lines
396 B
Diff
|
diff --git a/tests/srpbase64.c b/tests/srpbase64.c
|
||
|
index 80c1752..cb26e8b 100644
|
||
|
--- a/tests/srpbase64.c
|
||
|
+++ b/tests/srpbase64.c
|
||
|
@@ -34,6 +34,8 @@
|
||
|
|
||
|
#include "utils.h"
|
||
|
|
||
|
+#ifdef ENABLE_SRP
|
||
|
+
|
||
|
static void encode(const char *test_name, const gnutls_datum_t *raw, const char *expected)
|
||
|
{
|
||
|
int ret;
|
||
|
@@ -175,3 +177,10 @@ void doit(void)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
+#else
|
||
|
+
|
||
|
+void doit(void)
|
||
|
+{
|
||
|
+ exit(77);
|
||
|
+}
|
||
|
+#endif
|