projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f81e0
)
Changed to only encode the rtime if it is non-zero in the structure
author
Theodore Tso
<tytso@mit.edu>
Thu, 3 Jun 1993 00:27:43 +0000
(
00:27
+0000)
committer
Theodore Tso
<tytso@mit.edu>
Thu, 3 Jun 1993 00:27:43 +0000
(
00:27
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2570
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 ea14beeb90178689c36fa12b4167c299d7919807..c45be309fd569d2932d09951c82a5c00174e284b 100644
(file)
--- a/
src/lib/krb5/asn.1/tgrq2ktgrq.c
+++ b/
src/lib/krb5/asn.1/tgrq2ktgrq.c
@@
-89,7
+89,7
@@
register int *error;
if (*error) {
goto errout;
}
- if (
retval->kdc_options & KDC_OPT_RENEWABLE
) {
+ if (
val->rtime
) {
retval->rtime = gentime2unix(val->rtime, error);
if (*error) {
goto errout;