[krbdev.mit.edu #8577] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8577] git commit

Greg Hudson via RT

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 <[hidden email]>
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(-)

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs