context->clockskew in case some app can't get at the
internals of the context struct.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7125
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Nov 27 14:52:23 1995 Tom Yu <tlyu@dragons-lair.MIT.EDU>
+
+ * rc_dfl.c (krb5_rc_dfl_init): default lifespan to
+ context->clockskew in case some app can't get at the
+ internals of the context struct.
+
Fri Oct 6 22:05:31 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in: Remove ##DOS!include of config/windows.in.
struct dfl_data *t = (struct dfl_data *)id->data;
krb5_error_code retval;
- t->lifespan = lifespan;
+ t->lifespan = lifespan ? lifespan : context->clockskew;
+ /* default to clockskew from the context */
#ifndef NOIOSTUFF
if ((retval = krb5_rc_io_creat(context, &t->d,&t->name)))
return retval;