]> git.ipfire.org Git - thirdparty/krb5.git/commit
Modernize UTF-8 conversions
authorTom Yu <tlyu@mit.edu>
Tue, 22 Dec 2015 21:55:07 +0000 (16:55 -0500)
committerTom Yu <tlyu@mit.edu>
Mon, 4 Jan 2016 18:27:50 +0000 (13:27 -0500)
commitadbdb3a97566acd5d2bfcf8cfea8559b79d37f37
tree7b15d08a6415923390940762fac02e5c5d0bb41a
parentb6f29cbd2ab132e336b5435447348400e9a9e241
Modernize UTF-8 conversions

Unicode and ISO/IEC 10646 now agree that the maximum valid code point
is U+10FFFF.  (Unicode 8.0 Appendix C.2 implies that ISO/IEC
10646:2011 aligned the extent of the code space.)

Adjust src/util/support/utf8.c accordingly, mostly by
deleting code.

Also delete the unused macro KRB5_UCS_UTF8LEN().
src/util/support/utf8.c