summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-02-06 17:51:40 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-02-06 17:51:40 +0100
commit93880eb0db13f97c014bbd2735b14d3bdc76fe46 (patch)
tree21e1f0eb0184e4a4b97957391cdd958b5dd3c52b
parent59b24344a2c3ece801faffa19e44bacc282f7375 (diff)
downloadgnutls-93880eb0db13f97c014bbd2735b14d3bdc76fe46.tar.gz
only test ZLIB if it is enabled
-rw-r--r--tests/mini-record-2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mini-record-2.c b/tests/mini-record-2.c
index 73b71870a1..b2912eb1ec 100644
--- a/tests/mini-record-2.c
+++ b/tests/mini-record-2.c
@@ -401,8 +401,10 @@ void doit(void)
start(ARCFOUR_SHA1, 0);
start(ARCFOUR_MD5, 0);
+#ifdef HAVE_LIBZ
start(ARCFOUR_SHA1_ZLIB, 0);
start(NEW_ARCFOUR_SHA1_ZLIB, 1);
+#endif
}
#endif /* _WIN32 */