summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-05-09 17:40:32 +0000
committerGreg Hudson <ghudson@mit.edu>2012-05-09 17:40:32 +0000
commitc250f6743a623ab5086c56324060ebf99c740379 (patch)
treefd3c7c3e638ce3149d79a2dfa458ec3a8f14ed7b /src
parente785e6e2204c2cf1e262c92549fa6aea1c020ead (diff)
downloadkrb5-c250f6743a623ab5086c56324060ebf99c740379.tar.gz
krb5-c250f6743a623ab5086c56324060ebf99c740379.tar.xz
krb5-c250f6743a623ab5086c56324060ebf99c740379.zip
Constify krb5int_utf8_normalize input parameter
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25856 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/include/k5-unicode.h2
-rw-r--r--src/lib/krb5/unicode/ucstr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/k5-unicode.h b/src/include/k5-unicode.h
index 1c5ceb89e2..77f5facb0b 100644
--- a/src/include/k5-unicode.h
+++ b/src/include/k5-unicode.h
@@ -118,7 +118,7 @@ void krb5int_ucstr2upper(
#define KRB5_UTF8_APPROX 0x8U
krb5_error_code krb5int_utf8_normalize(
- krb5_data *,
+ const krb5_data *,
krb5_data **,
unsigned);
diff --git a/src/lib/krb5/unicode/ucstr.c b/src/lib/krb5/unicode/ucstr.c
index 41b5b81804..625c9de1c4 100644
--- a/src/lib/krb5/unicode/ucstr.c
+++ b/src/lib/krb5/unicode/ucstr.c
@@ -105,7 +105,7 @@ krb5int_ucstr2upper(
krb5_error_code
krb5int_utf8_normalize(
- krb5_data * data,
+ const krb5_data * data,
krb5_data ** newdataptr,
unsigned flags)
{