diff --git a/lib/krb5/krbhst.c b/lib/krb5/krbhst.c index 491408654..4e4b4562e 100644 --- a/lib/krb5/krbhst.c +++ b/lib/krb5/krbhst.c @@ -179,6 +179,15 @@ krbhst_get_default_proto(struct krb5_krbhst_data *kd) return KRB5_KRBHST_UDP; } +/* + * + */ + +const char * +_krb5_krbhst_get_realm(krb5_krbhst_handle handle) +{ + return handle->realm; +} /* * parse `spec' into a krb5_krbhst_info, defaulting the port to `def_port'