diff options
author | Ken Raeburn <raeburn@mit.edu> | 2001-07-31 23:58:12 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2001-07-31 23:58:12 +0000 |
commit | 6fe9f33d0b432683088c9e11b9ebdae7555f9e84 (patch) | |
tree | 49516ff908e982b7c5333fd18901428b9c04459b | |
parent | f2c8540ed692a0884e427444b80a84f4844985a9 (diff) | |
download | krb5-6fe9f33d0b432683088c9e11b9ebdae7555f9e84.zip krb5-6fe9f33d0b432683088c9e11b9ebdae7555f9e84.tar.gz krb5-6fe9f33d0b432683088c9e11b9ebdae7555f9e84.tar.bz2 |
krb5_check_transited_list now takes pointers to const
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13662 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/include/ChangeLog | 5 | ||||
-rw-r--r-- | src/include/krb5.hin | 4 | ||||
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/krb5/krb/chk_trans.c | 4 |
4 files changed, 14 insertions, 4 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index d79b733..62d5f3e 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -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 diff --git a/src/include/krb5.hin b/src/include/krb5.hin index b059213..4f26948 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -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 diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index fbbd98f..223e784 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -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 diff --git a/src/lib/krb5/krb/chk_trans.c b/src/lib/krb5/krb/chk_trans.c index 53492f8..4a38bf6 100644 --- a/src/lib/krb5/krb/chk_trans.c +++ b/src/lib/krb5/krb/chk_trans.c @@ -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; |