From bf6efbc9a99a102232f69a83701c2793381ef91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Tue, 10 Jul 2018 14:34:35 +0200 Subject: [PATCH] Do not set IDN2_NFC_INPUT explicitly IDN2_NFC_INPUT is always set implicitly by idn2_to_ascii_lz(), so there is no need to set it explicitly. --- bin/dig/dighost.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index b31900934b..f5b29002ce 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -4254,8 +4254,7 @@ idn_locale_to_ace(const char *src, char *dst, size_t dstlen) { * We trust libidn2 to return an error if 'src' is too large to be a * valid domain name. */ - res = idn2_to_ascii_lz(src, &ascii_src, - IDN2_NFC_INPUT | IDN2_NONTRANSITIONAL); + res = idn2_to_ascii_lz(src, &ascii_src, IDN2_NONTRANSITIONAL); if (res != IDN2_OK) { fatal("'%s' is not a legal IDNA2008 name (%s), use +noidnin", src, idn2_strerror(res));