+2000-10-03 Ezra Peisach <epeisach@mit.edu>
+
+ * ccache.c, heuristic.c, main.c: Return of krb5_cc_get_name() is
+ const char *.
+
2000-05-22 Tom Yu <tlyu@mit.edu>
* Makefile.in (OBJS): Put @SETENVOBJ@ on same line as xmalloc.o to
{
int i=0;
krb5_ccache * cc_other;
-char * cc_def_name;
-char * cc_other_name;
+const char * cc_def_name;
+const char * cc_other_name;
krb5_error_code retval=0;
krb5_creds ** cc_def_creds_arr = NULL;
krb5_creds ** cc_other_creds_arr = NULL;
void printtime(tv)
time_t tv;
{
- struct tm *stime;
+ struct tm *kstime;
char fmtbuf[18];
char fill;
- stime = localtime((time_t *)&tv);
+ kstime = localtime((time_t *)&tv);
fill = ' ';
if (!krb5_timestamp_to_sfstring((krb5_timestamp) tv,
fmtbuf,
krb5_ccache cct;
krb5_principal primary_principal;
{
-char * cct_name;
-char * ccs_name;
+const char * cct_name;
+const char * ccs_name;
krb5_error_code retval=0;
krb5_principal temp_principal;
krb5_creds ** ccs_creds_arr = NULL;
int i=0;
krb5_ccache * cc_other;
-char * cc_def_name;
-char * cc_other_name;
+const char * cc_def_name;
+const char * cc_other_name;
krb5_error_code retval=0;
krb5_creds ** cc_def_creds_arr = NULL;
krb5_creds ** cc_other_creds_arr = NULL;
krb5_error_code retval=0;
krb5_principal temp_principal;
krb5_creds ** cc_creds_arr = NULL;
-char * cc_name;
+const char * cc_name;
krb5_boolean stored;
struct stat st_temp;
{
krb5_error_code retval;
krb5_creds ** creds_list = NULL;
-char * cc_name;
+const char * cc_name;
struct stat st_temp;
cc_name = krb5_cc_get_name(context, cc);
krb5_principal kdc_server;
krb5_error_code retval;
krb5_boolean temp_found = FALSE;
- char * cc_source_name;
+ const char * cc_source_name;
struct stat st_temp;
cc_source_name = krb5_cc_get_name(context, cc);
{
princ_info princ_trials[10];
- char * cc_source_name;
+ const char * cc_source_name;
krb5_principal cc_def_princ = NULL;
krb5_principal temp_client;
krb5_principal target_client;