Rewrite krb5_parse_name
authorGreg Hudson <ghudson@mit.edu>
Thu, 10 May 2012 17:34:07 +0000 (17:34 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 10 May 2012 17:34:07 +0000 (17:34 +0000)
commitf609e5caff410cc8f71db7d95b4da219541437db
tree64f36d5aa7e394924b545737e0766e80981b1a35
parentb9ff95a51ef11742abc9687a70b6d8324eda6803
Rewrite krb5_parse_name

krb5_parse_name started out a bit unwieldy, and has become more so
with the introduction of flags.  Rewrite it using two passes (allocate
and fill), each broken out into its own helper, and a wrapper which
handles the realm flags.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25861 dc483132-0cff-0310-8789-dd5450dbe970
src/include/krb5/krb5.hin
src/lib/krb5/krb/parse.c