(fail_verify_is_ok): correct inverted return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11151 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -58,15 +58,15 @@ fail_verify_is_ok (krb5_context context,
|
|||||||
krb5_verify_init_creds_opt *options)
|
krb5_verify_init_creds_opt *options)
|
||||||
{
|
{
|
||||||
if ((options->flags & KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL
|
if ((options->flags & KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL
|
||||||
&& options->ap_req_nofail == 1)
|
&& options->ap_req_nofail != 0)
|
||||||
|| krb5_config_get_bool (context,
|
|| krb5_config_get_bool (context,
|
||||||
NULL,
|
NULL,
|
||||||
"libdefaults",
|
"libdefaults",
|
||||||
"verify_ap_req_nofail",
|
"verify_ap_req_nofail",
|
||||||
NULL))
|
NULL))
|
||||||
return FALSE;
|
|
||||||
else
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
else
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
krb5_error_code
|
krb5_error_code
|
||||||
|
Reference in New Issue
Block a user