(do_delegation): use KDCOptions2int to convert fwd_flags to an

integer, since otherwise int2KDCOptions in krb5_get_forwarded_creds wont do the right thing.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17770 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-06-30 19:38:40 +00:00
parent 348154aed4
commit 54afe1180f

View File

@@ -143,7 +143,7 @@ do_delegation (krb5_auth_context ac,
kret = krb5_get_forwarded_creds(_gsskrb5_context,
ac,
ccache,
fwd_flags.i,
KDCOptions2int(fwd_flags),
name->name.name_string.val[1],
&creds,
fwd_data);