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 https://github.com/krb5/krb5/commit/ca9c1212fcb150c3514f8a9ef2f25709b5146de4 Commit By: hartmans Revision: 22067 Changed Files: U trunk/src/lib/krb5/krb/get_in_tkt.c