diff options
| author | Greg Hudson <ghudson@mit.edu> | 2013-01-11 13:26:37 -0500 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2013-01-11 13:36:20 -0500 |
| commit | c53ea7bef444d7c151c46224b7a0600b9539496f (patch) | |
| tree | 3656a64e4b36945f174d145e9f2cbac84ca11d44 /src/include/k5-int.h | |
| parent | 59ff1102942b564faa257c9f283efeb6fea63b8f (diff) | |
| download | krb5-c53ea7bef444d7c151c46224b7a0600b9539496f.tar.gz krb5-c53ea7bef444d7c151c46224b7a0600b9539496f.tar.xz krb5-c53ea7bef444d7c151c46224b7a0600b9539496f.zip | |
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/k5-int.h')
| -rw-r--r-- | src/include/k5-int.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index fef1ddbf9..9da1b63b6 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -275,7 +275,6 @@ typedef INT64_TYPE krb5_int64; #define KRB5_CONF_VERIFY_AP_REQ_NOFAIL "verify_ap_req_nofail" #define KRB5_CONF_V4_INSTANCE_CONVERT "v4_instance_convert" #define KRB5_CONF_V4_REALM "v4_realm" -#define KRB5_CONF_ASTERISK "*" /* Cache configuration variables */ #define KRB5_CC_CONF_FAST_AVAIL "fast_avail" |
