(krb5_get_init_creds_opt_set_canonicalize): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20227 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -408,3 +408,17 @@ krb5_get_init_creds_opt_set_addressless(krb5_context context,
|
||||
opt->opt_private->addressless = KRB5_INIT_CREDS_TRISTATE_FALSE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
krb5_get_init_creds_opt_set_canonicalize(krb5_context context,
|
||||
krb5_get_init_creds_opt *opt,
|
||||
krb5_boolean req)
|
||||
{
|
||||
krb5_error_code ret;
|
||||
ret = require_ext_opt(context, opt, "init_creds_opt_set_canonicalize");
|
||||
if (ret)
|
||||
return ret;
|
||||
opt->opt_private->canonicalize = req;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user