[krbdev.mit.edu #8577] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Fri Apr 21 16:39:15 EDT 2017


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 <ghudson at mit.edu>
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(-)



More information about the krb5-bugs mailing list