pull up r22067 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 14 Apr 2009 19:53:53 +0000 (19:53 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 14 Apr 2009 19:53:53 +0000 (19:53 +0000)
commitdb9321695193712502cd7350fc25aff0c215268c
tree3a157ce05d7bd004a3a444baa3b8a722b332db58
parenta76b24648a9771b1d965833e8c262c399db17ef7
pull up r22067 from trunk

 ------------------------------------------------------------------------
 r22067 | hartmans | 2009-03-06 12:26:29 -0500 (Fri, 06 Mar 2009) | 12 lines
 Changed paths:
    M /trunk/src/lib/krb5/krb/get_in_tkt.c

 ticket: 6401
 Subject: send_as_req re-encodes the request

 krb5_get_init_creds calls encode_krb5_as_req to produce an encoding
 for the preauth plugins, then passes the unencoded request structure
 into the static function send_as_req.  That function re-encodes the
 request.  This is an unnecessary call to the encoder.  In addition,
 for the FAST project, it is desirable to encapsulate the unencoded
 outer request so that krb5_get_init_creds does not need it.

 * send_as_req is modified to take an encoded request and realm
 * Remove unused logic to fill in request nonce from send_as_req
 ------------------------------------------------------------------------

ticket: 6401
version_fixed: 1.7

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22213 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/get_in_tkt.c