diff options
author | John Kohl <jtkohl@mit.edu> | 1991-03-14 17:19:47 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1991-03-14 17:19:47 +0000 |
commit | a28ea47b090899c37cd4a6a81e6de3479cfaa995 (patch) | |
tree | 5cb6d9686b1a2c6a0a352791b4dfa2d5418ff0f2 /src/kdc | |
parent | 2b8d67ceb932507d5a46cafb515304364c858f57 (diff) | |
download | krb5-a28ea47b090899c37cd4a6a81e6de3479cfaa995.tar.gz krb5-a28ea47b090899c37cd4a6a81e6de3479cfaa995.tar.xz krb5-a28ea47b090899c37cd4a6a81e6de3479cfaa995.zip |
need to put something in last_req field (it's not optional)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1918 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc')
-rw-r--r-- | src/kdc/do_tgs_req.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index bb71df935f..7ebd3768b9 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -69,8 +69,8 @@ krb5_data **response; /* filled in with a response packet */ krb5_timestamp until, rtime; krb5_keyblock encrypting_key; char *cname = 0, *sname = 0, *fromstring = 0; - krb5_last_req_entry *nolrarray[1]; - krb5_address *noaddrarray[1]; + krb5_last_req_entry *nolrarray[2], nolrentry; +/* krb5_address *noaddrarray[1]; */ krb5_enctype useetype; register int i; int firstpass = 1; @@ -195,8 +195,8 @@ tgt_again: /* don't use new addresses unless forwarded, see below */ enc_tkt_reply.caddrs = header_ticket->enc_part2->caddrs; - noaddrarray[0] = 0; - reply_encpart.caddrs = noaddrarray; + /* noaddrarray[0] = 0; */ + reply_encpart.caddrs = 0; /* optional...don't put it in */ /* It should be noted that local policy may affect the */ /* processing of any of these flags. For example, some */ @@ -509,7 +509,10 @@ tgt_again: reply_encpart.times.authtime = kdc_time; - nolrarray[0] = 0; + nolrentry.lr_type = 0; /* XXX 0 is unused? cf. kdc_util.c */ + nolrentry.value = 0; + nolrarray[0] = &nolrentry; + nolrarray[1] = 0; reply_encpart.last_req = nolrarray; /* not available for TGS reqs */ reply_encpart.key_exp = 0; /* ditto */ reply_encpart.flags = enc_tkt_reply.flags; |