From: Ken Raeburn Date: Tue, 31 Jul 2001 23:58:12 +0000 (+0000) Subject: krb5_check_transited_list now takes pointers to const X-Git-Tag: krb5-1.3-alpha1~1149 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6fe9f33d0b432683088c9e11b9ebdae7555f9e84;p=krb5.git krb5_check_transited_list now takes pointers to const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13662 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index d79b7338d..62d5f3ee4 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2001-07-31 Ken Raeburn + + * krb5.hin (krb5_check_transited_list): Pointer args now point to + const. + 2001-07-20 Ken Raeburn * fake-addrinfo.h: Include port-sockets.h instead of system header diff --git a/src/include/krb5.hin b/src/include/krb5.hin index b059213fc..4f26948af 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 fbbd98f1e..223e7844d 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2001-07-31 Ken Raeburn + + * chk_trans.c (krb5_check_transited_list): Pointer args now point + to const. + 2001-07-31 Ezra Peisach * 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 53492f868..4a38bf6f7 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;