]> git.ipfire.org Git - thirdparty/krb5.git/commit
Refactor process_tgs_req() service princ search
authorTom Yu <tlyu@mit.edu>
Fri, 21 Sep 2012 19:32:20 +0000 (15:32 -0400)
committerTom Yu <tlyu@mit.edu>
Mon, 15 Oct 2012 23:41:15 +0000 (19:41 -0400)
commit3b8b18d6a87f5d2b4f255ee2e7d34ae6b48b4bf6
treeeaa50fcd2e8b07d20fef800ec0c149cec441c683
parent6f1a8f8c42cfc92fce8745e9228badb080bac892
Refactor process_tgs_req() service princ search

The service principal database entry search logic in process_tgs_req()
was excessively complex, containing questionable uses of "goto", along
with deeply nested control flow.  Refactor it into smaller functions.
src/kdc/do_tgs_req.c