From 9a1fb9c5866c942e2d66b8255e8fd1f2e8bcf2ae Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Mon, 13 Oct 1997 21:10:21 +0000 Subject: [PATCH] Fix for DCE secd. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3598 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/get_cred.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/krb5/get_cred.c b/lib/krb5/get_cred.c index 02e82fdf9..62735c744 100644 --- a/lib/krb5/get_cred.c +++ b/lib/krb5/get_cred.c @@ -102,6 +102,10 @@ init_tgs_req (krb5_context context, 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; } t->req_body.nonce = nonce;