diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-12-19 12:22:47 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-12-21 00:06:22 -0500 |
commit | 33b06596be92f7d8458ac6b136f092e235dec834 (patch) | |
tree | 1a128015036b5ecc9dd560f111e46da87f37b275 /.gitignore | |
parent | f5d5fa24c6c58b54349351beaea8220f5ca0f3ef (diff) | |
download | krb5-33b06596be92f7d8458ac6b136f092e235dec834.tar.gz krb5-33b06596be92f7d8458ac6b136f092e235dec834.tar.xz krb5-33b06596be92f7d8458ac6b136f092e235dec834.zip |
Simplify libkadm5 client realm initialization
The "realm" variable in init_any is used only to fill in the realm of
the service principal in gic_iter(). The service principal realm
should always be the realm we looked up config parameters for, so we
can supply that realm to get_init_creds() unconditionally and
eliminate the case where we use the client principal realm.
Also get rid of an outdated comment and an #if 0 block we will never
need again, and use SNPRINTF_OVERFLOW to check the snprintf result.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions