send_tgs.c:
authorSam Hartman <hartmans@mit.edu>
Mon, 23 Feb 2009 16:22:47 +0000 (16:22 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 23 Feb 2009 16:22:47 +0000 (16:22 +0000)
commit27552066f38b01e491fb92be86fab69c554351ae
tree5b52b1c36e0fa2bb2d7041038bf628bf65aab3ee
parent0510fa4955b698a71bb49c868c2438d5941fa694
send_tgs.c:
* Move generation of subkey into krb5int_send_tgs from construct_authenticator so that it is available for encrypting authorization data.

* Initialize rep->message_type and note that rep is touched on
unsuccessful calls (this has always been true).

* Do not set *subkey until successful return.
Thanks to Greg Hudson for pointing out these problems.

Ticket: 6393

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22044 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/send_tgs.c