summaryrefslogtreecommitdiff
path: root/src/include/k5-unicode.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2022-12-10 00:40:44 -0500
committerGreg Hudson <ghudson@mit.edu>2022-12-26 02:30:31 -0500
commitc5507dff5f5b2936937442b43f6c021b4f8a493d (patch)
tree73f53de0b6b6b7083c774980a68f9a00e6d34f7b /src/include/k5-unicode.h
parentf368c75dd867965cd621d011a6770e940af4047d (diff)
downloadkrb5-c5507dff5f5b2936937442b43f6c021b4f8a493d.tar.gz
Simplify krb5_chpw_message() UTF-8 processing
Only validate the message as a UTF-8 string, rather than normalizing it.
Diffstat (limited to 'src/include/k5-unicode.h')
-rw-r--r--src/include/k5-unicode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/k5-unicode.h b/src/include/k5-unicode.h
index e51ab2fe8..45c1788b2 100644
--- a/src/include/k5-unicode.h
+++ b/src/include/k5-unicode.h
@@ -127,4 +127,6 @@ int krb5int_utf8_normcmp(
const krb5_data *,
unsigned);
+krb5_boolean k5_utf8_validate(const krb5_data *data);
+
#endif /* K5_UNICODE_H */