projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d1c4e
)
"from" field is optional
author
John Carr
<jfc@mit.edu>
Tue, 25 Feb 1992 16:07:29 +0000
(16:07 +0000)
committer
John Carr
<jfc@mit.edu>
Tue, 25 Feb 1992 16:07:29 +0000
(16:07 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2250
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/asn.1/tgrq2ktgrq.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/asn.1/tgrq2ktgrq.c
b/src/lib/krb5/asn.1/tgrq2ktgrq.c
index ea20d5acf1631d5e0baecb3a58c25402838ec9a5..9ea7dee410ebd45da4444ad81c1617ca98cc9d11 100644
(file)
--- 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;