ktutil's "list -t" option is supposed to show the timestamp stored in
the keytab file. Instead, it shows some random (uninitialized) value,
interpreted as a timestamp.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20486
dc483132-0cff-0310-8789-
dd5450dbe970
/*
* kadmin/ktutil/ktutil.c
*
- * Copyright 1995, 1996 by the Massachusetts Institute of Technology.
+ * Copyright 1995, 1996, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
char fill;
time_t tstamp;
+ tstamp = lp->entry->timestamp;
(void) localtime(&tstamp);
lp->entry->timestamp = tstamp;
fill = ' ';