some cleanup

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4272 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-01-05 21:34:35 +00:00
parent 7e89a5b0f8
commit d0c101b4cd

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -148,14 +148,10 @@ init_tgs_req (krb5_context context,
if (ret)
goto fail;
if(in_creds->times.endtime){
ALLOC(t->req_body.till, 1);
*t->req_body.till = in_creds->times.endtime;
} else {
/* this is necessary with old MIT code (such as DCE secd) */
ALLOC(t->req_body.till, 1);
*t->req_body.till = 0;
}
/* req_body.till should be NULL if there is no endtime specified,
but old MIT code (like DCE secd) doesn't like that */
ALLOC(t->req_body.till, 1);
*t->req_body.till = in_creds->times.endtime;
t->req_body.nonce = nonce;
if(second_ticket){