krb5_error_code
process_as_req(request, from, response)
register krb5_as_req *request;
-krb5_fulladdr *from; /* who sent it ? */
+const krb5_fulladdr *from; /* who sent it ? */
krb5_data **response; /* filled in with a response packet */
{
cleanup();
return retval;
}
- retval = krb5_encode_kdc_rep(KRB5_AS_REP, &reply, &reply_encpart,
- &encrypting_key, response);
+ retval = krb5_encode_kdc_rep(KRB5_AS_REP, &reply_encpart,
+ &encrypting_key, &reply, response);
bzero((char *)encrypting_key.contents, encrypting_key.length);
free((char *)encrypting_key.contents);
cleanup();
krb5_error_code
process_tgs_req(request, from, response)
krb5_tgs_req *request;
-krb5_fulladdr *from; /* who sent it ? */
+const krb5_fulladdr *from; /* who sent it ? */
krb5_data **response; /* filled in with a response packet */
{
reply_encpart.flags = enc_tkt_reply.flags;
reply_encpart.server = ticket_reply.server;
- retval = krb5_encode_kdc_rep(KRB5_TGS_REP, &reply, &reply_encpart,
+ retval = krb5_encode_kdc_rep(KRB5_TGS_REP, &reply_encpart,
header_ticket->enc_part2->session,
- response);
+ &reply, response);
bzero((char *)session_key->contents, session_key->length);
free((char *)session_key->contents);
session_key->contents = 0;