summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-08-09 09:35:03 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-08-09 09:35:03 +0200
commit8e02de617b45c1b37b22828ed4903b3de1750716 (patch)
treebbdc2c5d659d8a0a878b59d154e25c69f1d105cc
parent2124f87dcd1acee4e2e04702469e16bc8da03edb (diff)
downloadgnutls-8e02de617b45c1b37b22828ed4903b3de1750716.tar.gz
tests: do not run srp test when no SRP support is compiled in
-rw-r--r--tests/srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/srp.c b/tests/srp.c
index 753e0037e8..6925855311 100644
--- a/tests/srp.c
+++ b/tests/srp.c
@@ -27,7 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
-#if defined(_WIN32)
+#if defined(_WIN32) || !defined(ENABLE_SRP)
int main()
{