default endtime

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1338 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-03-09 22:53:09 +00:00
parent 78ca419366
commit 7d0f6abc94
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ main (int argc, char **argv)
}
cred.client = principal;
cred.times.endtime = time (NULL) + 4711;
cred.times.endtime = 0;
err = krb5_build_principal_ext (context,
&cred.server,

View File

@@ -43,7 +43,7 @@ krb5_mk_req(krb5_context context,
NULL);
if (r)
return r;
this_cred.times.endtime = time (NULL) + 4711; /* XXX */
this_cred.times.endtime = 0;
r = krb5_get_credentials (context, 0, ccache, &this_cred, &cred);
if (r)