compare the value of the client realm now that it might not be the same pointer
fixes the check-delegate test that the new direct hop patch broke
This commit is contained in:
@@ -756,7 +756,7 @@ get_cred_kdc_capath_worker(krb5_context context,
|
|||||||
ret = find_cred(context, ccache, tmp_creds.server,
|
ret = find_cred(context, ccache, tmp_creds.server,
|
||||||
*ret_tgts, &tgts);
|
*ret_tgts, &tgts);
|
||||||
if(ret == 0){
|
if(ret == 0){
|
||||||
if (try_realm != client_realm)
|
if (strcmp(try_realm, client_realm) != 0)
|
||||||
ok_as_delegate = tgts.flags.b.ok_as_delegate;
|
ok_as_delegate = tgts.flags.b.ok_as_delegate;
|
||||||
|
|
||||||
*out_creds = calloc(1, sizeof(**out_creds));
|
*out_creds = calloc(1, sizeof(**out_creds));
|
||||||
|
Reference in New Issue
Block a user