Constify krb5int_utf8_normalize input parameter
authorGreg Hudson <ghudson@mit.edu>
Wed, 9 May 2012 17:40:32 +0000 (17:40 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 9 May 2012 17:40:32 +0000 (17:40 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25856 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-unicode.h
src/lib/krb5/unicode/ucstr.c

index 1c5ceb89e21d87dc4848278e39acfd0221227d70..77f5facb0bad149b3529707dd1630675bf8d9bad 100644 (file)
@@ -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);
 
index 41b5b8180458b639005a9ac4bde16bd2d18729ed..625c9de1c4294e47b29be67c67885d19622b76bb 100644 (file)
@@ -105,7 +105,7 @@ krb5int_ucstr2upper(
 
 krb5_error_code
 krb5int_utf8_normalize(
-                      krb5_data * data,
+                      const krb5_data * data,
                       krb5_data ** newdataptr,
                       unsigned flags)
 {