From: Michał Kępień Date: Tue, 10 Jul 2018 12:34:35 +0000 (+0200) Subject: Do not set IDN2_NFC_INPUT explicitly X-Git-Tag: v9.13.3~124^2~1 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=bf6efbc9a99a102232f69a83701c2793381ef91c;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index b31900934b2..f5b29002ce2 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));