projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88779e0
)
Simplify KDC realm initialization slightly
author
Greg Hudson
<ghudson@mit.edu>
Mon, 25 Jul 2011 15:54:26 +0000
(15:54 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Mon, 25 Jul 2011 15:54:26 +0000
(15:54 +0000)
krb5_aprof_init() can no longer return 0 with a null profile, so we
can call krb5_aprof_finish() unconditionally.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25043
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kdc/main.c
patch
|
blob
|
history
diff --git
a/src/kdc/main.c
b/src/kdc/main.c
index e2446cdd0a0fd9c17c633c279f23ef768e6ba00d..cc89fabe3d602000e105cd87ea21e2d1ad0ad8b9 100644
(file)
--- a/
src/kdc/main.c
+++ b/
src/kdc/main.c
@@
-701,9
+701,7
@@
initialize_realms(krb5_context kcontext, int argc, char **argv)
host_based_srvcs = 0;
}
- /* aprof_init can return 0 with aprof == NULL */
- if (aprof)
- krb5_aprof_finish(aprof);
+ krb5_aprof_finish(aprof);
}
if (default_udp_ports == 0) {