krb5int_arcfour_string_to_key does not support utf-8 strings
authorAlexandra Ellwood <lxs@mit.edu>
Tue, 26 Feb 2008 22:18:15 +0000 (22:18 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Tue, 26 Feb 2008 22:18:15 +0000 (22:18 +0000)
commit997057a521734827b7b75693939540249aa5670e
treec6f4a6b514e2ac4a2860f47625789992180627be
parent52c6102301ea76acb3bdef28acf359a8b7f65fe0
krb5int_arcfour_string_to_key does not support utf-8 strings

krb5int_arcfour_string_to_key converts C strings to UTF-16 before passing
them to the string to key function.  Currently the UTF-16 conversion assumes
the input string is ASCII only.

Added support to convert UTF-8 strings to UTF-16 on Mac OS X.  Leaving the
bug open until we discuss if we want to have implementations for Unix and
Windows platforms.

ticket: new
status: open
target_version: 1.7

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20242 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/arcfour/arcfour_s2k.c