summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-01 00:20:18 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-01 00:20:24 +0200
commitc99327c17d2f6587b130f3095e0c67595b49ee5b (patch)
tree4231ae1fccdd0d76ba4232c38ef7f28027b477a7
parentd304bf83bdc865fb2833af03cdb3c062c51c4218 (diff)
downloadgnutls-c99327c17d2f6587b130f3095e0c67595b49ee5b.tar.gz
tests: don't use GNUTLS_IDNA_FORCE_2008 in str-idna
Instead utilize the default flags to allow fallback to IDNA2003. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/str-idna.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/str-idna.c b/tests/str-idna.c
index 60dd58d5c5..cdf8cac284 100644
--- a/tests/str-idna.c
+++ b/tests/str-idna.c
@@ -32,11 +32,7 @@
#include <gnutls/gnutls.h>
#include <cmocka.h>
-#ifdef HAVE_LIBIDN2
-# define GLOBAL_FLAGS GNUTLS_IDNA_FORCE_2008
-#else
-# define GLOBAL_FLAGS 0
-#endif
+#define GLOBAL_FLAGS 0
#define MATCH_FUNC(fname, str, normalized) \
static void fname(void **glob_state) \