From: John Carr Date: Tue, 25 Feb 1992 16:07:29 +0000 (+0000) Subject: "from" field is optional X-Git-Tag: krb5-1.0-beta2~212 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e3d802968dd325fb8420f8400d624b22670cbf0;p=krb5.git "from" field is optional git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2250 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/tgrq2ktgrq.c b/src/lib/krb5/asn.1/tgrq2ktgrq.c index ea20d5acf..9ea7dee41 100644 --- a/src/lib/krb5/asn.1/tgrq2ktgrq.c +++ b/src/lib/krb5/asn.1/tgrq2ktgrq.c @@ -78,10 +78,13 @@ register int *error; if (!retval->server) { goto errout; } - retval->from = gentime2unix(val->from, error); - if (*error) { - goto errout; + if (val->from) { + retval->from = gentime2unix(val->from, error); + if (*error) { + goto errout; + } } + retval->till = gentime2unix(val->till, error); if (*error) { goto errout;