svn rev #25043: trunk/src/kdc/
ghudson@MIT.EDU
ghudson at MIT.EDU
Mon Jul 25 11:54:26 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25043
Commit By: ghudson
Log Message:
Simplify KDC realm initialization slightly.
krb5_aprof_init() can no longer return 0 with a null profile, so we
can call krb5_aprof_finish() unconditionally.
Changed Files:
U trunk/src/kdc/main.c
Modified: trunk/src/kdc/main.c
===================================================================
--- trunk/src/kdc/main.c 2011-07-25 13:46:53 UTC (rev 25042)
+++ trunk/src/kdc/main.c 2011-07-25 15:54:26 UTC (rev 25043)
@@ -701,9 +701,7 @@
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) {
More information about the cvs-krb5
mailing list