diff options
author | Theodore Tso <tytso@mit.edu> | 1993-06-03 11:48:28 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1993-06-03 11:48:28 +0000 |
commit | af264e82b3dbc0c00c5063c6a147e2fdc418db96 (patch) | |
tree | 7d67a884ac815d4d01b85337b2f7582756f422ae /src/kdc/dispatch.c | |
parent | 98a60dc19f5a7fedf1110677e6f839c55b13656c (diff) | |
download | krb5-af264e82b3dbc0c00c5063c6a147e2fdc418db96.tar.gz krb5-af264e82b3dbc0c00c5063c6a147e2fdc418db96.tar.xz krb5-af264e82b3dbc0c00c5063c6a147e2fdc418db96.zip |
Pass in actual packet to process_tgs_req so that two different checksumming
can be done, in case of ASN.1 screwup.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2578 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/dispatch.c')
-rw-r--r-- | src/kdc/dispatch.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/kdc/dispatch.c b/src/kdc/dispatch.c index 037443e3c2..4ecdfdca03 100644 --- a/src/kdc/dispatch.c +++ b/src/kdc/dispatch.c @@ -46,7 +46,6 @@ dispatch(pkt, from, is_secondary, response) krb5_error_code retval; krb5_kdc_req *as_req; - krb5_kdc_req *tgs_req; /* decode incoming packet, and dispatch */ @@ -59,10 +58,7 @@ dispatch(pkt, from, is_secondary, response) /* try TGS_REQ first; they are more common! */ if (krb5_is_tgs_req(pkt)) { - if (!(retval = decode_krb5_tgs_req(pkt, &tgs_req))) { - retval = process_tgs_req(tgs_req, from, is_secondary, response); - krb5_free_kdc_req(tgs_req); - } + retval = process_tgs_req(pkt, from, is_secondary, response); } else if (krb5_is_as_req(pkt)) { if (!(retval = decode_krb5_as_req(pkt, &as_req))) { retval = process_as_req(as_req, from, is_secondary, response); |