aboutsummaryrefslogtreecommitdiff
path: root/src/include/adm_proto.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-01-11 13:26:37 -0500
committerGreg Hudson <ghudson@mit.edu>2013-01-11 13:36:20 -0500
commitc53ea7bef444d7c151c46224b7a0600b9539496f (patch)
tree3656a64e4b36945f174d145e9f2cbac84ca11d44 /src/include/adm_proto.h
parent59ff1102942b564faa257c9f283efeb6fea63b8f (diff)
downloadkrb5-c53ea7bef444d7c151c46224b7a0600b9539496f.zip
krb5-c53ea7bef444d7c151c46224b7a0600b9539496f.tar.gz
krb5-c53ea7bef444d7c151c46224b7a0600b9539496f.tar.bz2
Simplify KDC host referral code
Remove some unnecessary optimizations to reduce code complexity. Get rid of krb5_match_config_pattern in favor of a simpler helper function in do_tgs_req_c. Get rid of KRB5_CONF_ASTERISK and just use "*" instead. Use a helper function to combine [kdcdefaults] and realm subsection values of variables, and don't bother adding leading and trailing spaces. Consistently use the names "hostbased" and "no_referral" to refer to variable values (with a "realm_" prefix for structures which currently use it).
Diffstat (limited to 'src/include/adm_proto.h')
-rw-r--r--src/include/adm_proto.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/adm_proto.h b/src/include/adm_proto.h
index e9cbab6..daca5a1 100644
--- a/src/include/adm_proto.h
+++ b/src/include/adm_proto.h
@@ -79,7 +79,6 @@ krb5_error_code krb5_aprof_finish(krb5_pointer);
krb5_error_code krb5_read_realm_params(krb5_context, char *,
krb5_realm_params **);
krb5_error_code krb5_free_realm_params(krb5_context, krb5_realm_params *);
-krb5_boolean krb5_match_config_pattern(const char *, const char *);
/* str_conv.c */
krb5_error_code krb5_string_to_flags(char *, const char *, const char *,