(auth_data): radix_encode expects a int * and not a size_t *. Use
temporary variable to pass data in and out.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13466
dc483132-0cff-0310-8789-
dd5450dbe970
2001-06-21 Ezra Peisach <epeisach@mit.edu>
* ftpd.c: If NEED_SETENV defined, prototype for setenv.
+ (auth_data): radix_encode expects a int * and not a size_t *. Use
+ temporary variable to pass data in and out.
2001-06-20 Ezra Peisach <epeisach@mit.edu>
gss_cred_id_t server_creds, deleg_creds;
gss_name_t client;
int ret_flags;
+ int rad_len;
struct gss_channel_bindings_struct chan;
gss_buffer_desc name_buf;
gss_name_t server_name;
&deleg_creds);
return(0);
}
+
+ rad_len = out_tok.length;
kerror = radix_encode(out_tok.value, gbuf,
- &out_tok.length, 0);
+ &rad_len, 0);
+ out_tok.length = rad_len;
if (kerror) {
secure_error("Couldn't encode ADAT reply (%s)",
radix_error(kerror));