krb5_check_transited_list now takes pointers to const
authorKen Raeburn <raeburn@mit.edu>
Tue, 31 Jul 2001 23:58:12 +0000 (23:58 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 31 Jul 2001 23:58:12 +0000 (23:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13662 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/krb5.hin
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/chk_trans.c

index d79b7338d16c9e1488277b0d6d2443406d6dd0a0..62d5f3ee40f8baa3c118f1731db79fde7dd9b2a3 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * krb5.hin (krb5_check_transited_list): Pointer args now point to
+       const.
+
 2001-07-20  Ken Raeburn  <raeburn@mit.edu>
 
        * fake-addrinfo.h: Include port-sockets.h instead of system header
index b059213fc0616f1b2c12598c3788a7ea5ef674b4..4f26948af18de70c0cbc4f7d07e8bfc89fbc5dd6 100644 (file)
@@ -1627,8 +1627,8 @@ KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_cc_copy_creds
 
 /* chk_trans.c */
 krb5_error_code krb5_check_transited_list
-       (krb5_context,
-               krb5_data *trans, krb5_data *realm1, krb5_data *realm2);
+       (krb5_context, const krb5_data *trans,
+        const krb5_data *realm1, const krb5_data *realm2);
 
 /* free_rtree.c */
 void krb5_free_realm_tree
index fbbd98f1ef6bceed8931a95639a47e76445172a4..223e7844d12e79faf9375af4b7268b74d27b6422 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-31  Ken Raeburn  <raeburn@mit.edu>
+
+       * chk_trans.c (krb5_check_transited_list): Pointer args now point
+       to const.
+
 2001-07-31  Ezra Peisach  <epeisach@mit.edu>
 
        * get_in_tkt.c: Cast to unsigned krb5_error error value to 
index 53492f868b7468998756bcde5d1c92b1698c0cf7..4a38bf6f78bdead3e5a7c5eb60101ace95a7afd0 100644 (file)
@@ -315,8 +315,8 @@ check_realm_in_list (krb5_data *realm, void *data)
 }
 
 krb5_error_code
-krb5_check_transited_list (krb5_context ctx, krb5_data *trans,
-                          krb5_data *crealm, krb5_data *srealm)
+krb5_check_transited_list (krb5_context ctx, const krb5_data *trans,
+                          const krb5_data *crealm, const krb5_data *srealm)
 {
     struct check_data cdata;
     krb5_error_code r;