gnutls/gnutls-3.5.1-srp-tests.patch
Nikos Mavrogiannopoulos a61a453879 updated to 3.5.1
2016-06-15 10:34:45 +02:00

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