From: John Kohl Date: Sat, 3 Feb 1990 17:09:17 +0000 (+0000) Subject: add more args, pass more args down X-Git-Tag: krb5-1.0-alpha2~1132 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b4164b5863046cc968bb55538a7a0829ae395881;p=krb5.git add more args, pass more args down git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@251 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/dispatch.c b/src/kdc/dispatch.c index 7393b54d8..7c0a682e9 100644 --- a/src/kdc/dispatch.c +++ b/src/kdc/dispatch.c @@ -20,10 +20,13 @@ static char rcsid_dispatch_c[] = #include #include #include +#include +#include "kdc_util.h" krb5_error_code -dispatch(pkt, response) +dispatch(pkt, from, response) krb5_data *pkt; +krb5_fulladdr *from; krb5_data **response; { @@ -43,7 +46,7 @@ krb5_data **response; retval = decode_krb5_as_req(pkt, &as_req); switch (retval) { case 0: - retval = process_as_req(as_req, response); + retval = process_as_req(as_req, from, response); krb5_free_as_req(as_req); break; default: @@ -51,8 +54,8 @@ krb5_data **response; } case 0: /* it's now decoded, but still has an encrypted part to work on */ - if (!(retval = decrypt_tgs_req(tgs_req))) - retval = process_tgs_req(tgs_req, response); + if (!(retval = decrypt_tgs_req(tgs_req, from))) + retval = process_tgs_req(tgs_req, from, response); krb5_free_tgs_req(tgs_req); break; }