onto xdr functions. (arguments specified to *3_1 functions were
for the *_1 functions).
* client_init.c, client_principal.c, clnt_policy.c: Cleanup unused
variables and assignments in conditionals.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13011
dc483132-0cff-0310-8789-
dd5450dbe970
+Sun Feb 18 17:32:53 2001 Ezra Peisach <epeisach@mit.edu>
+
+ * client_rpc.c: Insure pointer argument type is same as passed
+ onto xdr functions. (arguments specified to *3_1 functions were
+ for the *_1 functions).
+
+ * client_init.c, client_principal.c, clnt_policy.c: Cleanup unused
+ variables and assignments in conditionals.
+
2000-10-17 Ezra Peisach <epeisach@mit.edu>
* clnt_chpass_util.c (kadm5_chpass_principal_util): Change msg_len
{
struct sockaddr_in addr;
struct hostent *hp;
- struct servent *srv;
int fd;
int i;
- char full_service_name[BUFSIZ], host[MAXHOSTNAMELEN], *ccname_orig;
+ char full_service_name[BUFSIZ], *ccname_orig;
const char *c_ccname_orig;
char *realm;
krb5_creds creds;
OM_uint32 gssstat, minor_stat;
gss_buffer_desc input_name;
- gss_name_t gss_target, gss_client;
+ gss_name_t gss_client;
+#ifndef INIT_TEST
+ gss_name_t gss_target;
+#endif
gss_cred_id_t gss_client_creds = GSS_C_NO_CREDENTIAL;
kadm5_server_handle_t handle;
handle->lhandle->clnt = handle->clnt;
/* now that handle->clnt is set, we can check the handle */
- if (code = _kadm5_check_handle((void *) handle))
+ if ((code = _kadm5_check_handle((void *) handle)))
goto error;
/*
gprinc_arg arg;
gprinc_ret *r;
kadm5_server_handle_t handle = server_handle;
- krb5_error_code retval;
CHECK_HANDLE(server_handle);
gprincs_arg arg;
gprincs_ret *r;
kadm5_server_handle_t handle = server_handle;
- krb5_error_code retval;
CHECK_HANDLE(server_handle);
{
chrand3_arg arg;
chrand_ret *r;
- krb5_keyblock new;
kadm5_server_handle_t handle = server_handle;
int i, ret;
{
chrand_arg arg;
chrand_ret *r;
- krb5_keyblock new;
kadm5_server_handle_t handle = server_handle;
int i, ret;
generic_ret *
create_principal3_1(argp, clnt)
- cprinc_arg *argp;
+ cprinc3_arg *argp;
CLIENT *clnt;
{
static generic_ret res;
gprincs_ret *
get_princs_1(argp, clnt)
- gprinc_arg *argp;
+ gprincs_arg *argp;
CLIENT *clnt;
{
static gprincs_ret res;
generic_ret *
chpass_principal3_1(argp, clnt)
- chpass_arg *argp;
+ chpass3_arg *argp;
CLIENT *clnt;
{
static generic_ret res;
generic_ret *
setkey_principal3_1(argp, clnt)
- setkey_arg *argp;
+ setkey3_arg *argp;
CLIENT *clnt;
{
static generic_ret res;
chrand_ret *
chrand_principal3_1(argp, clnt)
- chrand_arg *argp;
+ chrand3_arg *argp;
CLIENT *clnt;
{
static chrand_ret res;
gpols_ret *
get_pols_1(argp, clnt)
- gprinc_arg *argp;
+ gpols_arg *argp;
CLIENT *clnt;
{
static gpols_ret res;
gpols_arg arg;
gpols_ret *r;
kadm5_server_handle_t handle = server_handle;
- krb5_error_code retval;
CHECK_HANDLE(server_handle);