diff options
-rw-r--r-- | tests/set_key_utf8.c | 3 | ||||
-rw-r--r-- | tests/set_x509_key_utf8.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/set_key_utf8.c b/tests/set_key_utf8.c index 23ee662c5e..adbb16aeaf 100644 --- a/tests/set_key_utf8.c +++ b/tests/set_key_utf8.c @@ -153,5 +153,8 @@ static void auto_parse(void) void doit(void) { +#ifndef HAVE_LIBIDN + exit(77); +#endif auto_parse(); } diff --git a/tests/set_x509_key_utf8.c b/tests/set_x509_key_utf8.c index a5452ffee9..496bd57c92 100644 --- a/tests/set_x509_key_utf8.c +++ b/tests/set_x509_key_utf8.c @@ -143,6 +143,10 @@ void doit(void) int ret; unsigned idx; +#ifndef HAVE_LIBIDN + exit(77); +#endif + /* this must be called once in the program */ global_init(); |