some cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4272 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -148,14 +148,10 @@ init_tgs_req (krb5_context context,
|
|||||||
if (ret)
|
if (ret)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if(in_creds->times.endtime){
|
/* req_body.till should be NULL if there is no endtime specified,
|
||||||
ALLOC(t->req_body.till, 1);
|
but old MIT code (like DCE secd) doesn't like that */
|
||||||
*t->req_body.till = in_creds->times.endtime;
|
ALLOC(t->req_body.till, 1);
|
||||||
} else {
|
*t->req_body.till = in_creds->times.endtime;
|
||||||
/* this is necessary with old MIT code (such as DCE secd) */
|
|
||||||
ALLOC(t->req_body.till, 1);
|
|
||||||
*t->req_body.till = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
t->req_body.nonce = nonce;
|
t->req_body.nonce = nonce;
|
||||||
if(second_ticket){
|
if(second_ticket){
|
||||||
|
Reference in New Issue
Block a user