do not assume that sizeof(time_t) is 32 bits.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14649
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-07-15 Ezra Peisach <epeisach@bu.edu>
+
+ * ktutil.c (ktutil_list): Remove variable set but not used. Also,
+ do not assume that sizeof(time_t) is 32 bits.
+
+2003-03-07 Ken Raeburn <raeburn@mit.edu>
* ktutil_funcs.c (ktutil_write_srvtab): When keeping only
highest-numbered kvno, with some heuristics to deal with
{
krb5_error_code retval;
krb5_kt_list lp;
- struct tm *sltime;
int show_time = 0, show_keys = 0, show_enctype = 0;
int i, j;
char *pname;
if (show_time) {
char fmtbuf[18];
char fill;
+ time_t tstamp;
- sltime = localtime((time_t *)&lp->entry->timestamp);
+ (void) localtime(&tstamp);
+ lp->entry->timestamp = tstamp;
fill = ' ';
if (!krb5_timestamp_to_sfstring((krb5_timestamp)lp->entry->
timestamp,