Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit X-RT-Original-Encoding: iso-8859-1 Content-Length: 1111 Replace UCS-2 conversions with UTF-16 Where we convert between UTF-8 and UCS-2 (RC4 string-to-key and PAC client info), use UTF-16 instead of UCS-2. Add a test program for the conversion functions. https://github.com/krb5/krb5/commit/89ce6420832858950271858e7c6e1a2eefebc683 Author: Greg Hudson Commit: 89ce6420832858950271858e7c6e1a2eefebc683 Branch: master .gitignore | 1 + src/include/k5-utf8.h | 14 ++-- src/lib/crypto/krb/s2k_rc4.c | 2 +- src/lib/krb5/krb/pac.c | 2 +- src/lib/krb5/krb/pac_sign.c | 20 ++-- src/util/support/Makefile.in | 10 ++- src/util/support/deps | 8 ++- src/util/support/libkrb5support-fixed.exports | 4 +- src/util/support/t_utf16.c | 117 +++++++++++++++++++++++++ src/util/support/utf8.c | 2 +- src/util/support/utf8_conv.c | 108 +++++++++++++++++------ 11 files changed, 236 insertions(+), 52 deletions(-)