diff options
author | Tom Yu <tlyu@mit.edu> | 2000-02-19 01:50:53 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2000-02-19 01:50:53 +0000 |
commit | f6aba826e738111a3d2e07cd2fc92cf8b0cf51bd (patch) | |
tree | bfe9405f8f68fb427a37ae8669e6eb69aacc4888 | |
parent | da8cb1d91e1f1cacbb7ff1064dc3902ea059ebaf (diff) | |
download | krb5-f6aba826e738111a3d2e07cd2fc92cf8b0cf51bd.tar.gz krb5-f6aba826e738111a3d2e07cd2fc92cf8b0cf51bd.tar.xz krb5-f6aba826e738111a3d2e07cd2fc92cf8b0cf51bd.zip |
* kadm_rpc_xdr.c (xdr_chpass3_arg):
(xdr_chrand3_arg): Fix up calls to xdr_array.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12055 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/kadm5/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/kadm5/kadm_rpc_xdr.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/kadm5/ChangeLog b/src/lib/kadm5/ChangeLog index a951c04dc0..36443abcd5 100644 --- a/src/lib/kadm5/ChangeLog +++ b/src/lib/kadm5/ChangeLog @@ -1,3 +1,8 @@ +2000-02-18 Tom Yu <tlyu@mit.edu> + + * kadm_rpc_xdr.c (xdr_chpass3_arg): + (xdr_chrand3_arg): Fix up calls to xdr_array. + 2000-02-13 Tom Yu <tlyu@mit.edu> * kadm_rpc_xdr.c: Add xdr functions for new kadm rpc functions. diff --git a/src/lib/kadm5/kadm_rpc_xdr.c b/src/lib/kadm5/kadm_rpc_xdr.c index 4e313a7496..69b8da8752 100644 --- a/src/lib/kadm5/kadm_rpc_xdr.c +++ b/src/lib/kadm5/kadm_rpc_xdr.c @@ -635,7 +635,7 @@ xdr_chpass3_arg(XDR *xdrs, chpass3_arg *objp) return (FALSE); } if (!xdr_array(xdrs, (caddr_t *)&objp->ks_tuple, - objp->n_ks_tuple, ~0, + (unsigned int*)&objp->n_ks_tuple, ~0, sizeof(krb5_key_salt_tuple), xdr_krb5_key_salt_tuple)) { return (FALSE); @@ -732,7 +732,7 @@ xdr_chrand3_arg(XDR *xdrs, chrand3_arg *objp) return (FALSE); } if (!xdr_array(xdrs, (caddr_t *)&objp->ks_tuple, - objp->n_ks_tuple, ~0, + (unsigned int*)&objp->n_ks_tuple, ~0, sizeof(krb5_key_salt_tuple), xdr_krb5_key_salt_tuple)) { return (FALSE); |