Fix for DCE secd.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3598 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -102,6 +102,10 @@ init_tgs_req (krb5_context context,
|
|||||||
if(in_creds->times.endtime){
|
if(in_creds->times.endtime){
|
||||||
ALLOC(t->req_body.till, 1);
|
ALLOC(t->req_body.till, 1);
|
||||||
*t->req_body.till = in_creds->times.endtime;
|
*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;
|
||||||
}
|
}
|
||||||
|
|
||||||
t->req_body.nonce = nonce;
|
t->req_body.nonce = nonce;
|
||||||
|
Reference in New Issue
Block a user