pass all options to cc_retrieve_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14530 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -834,10 +834,12 @@ krb5_get_credentials_with_flags(krb5_context context,
|
||||
return ENOMEM;
|
||||
}
|
||||
|
||||
if (in_creds->session.keytype)
|
||||
options |= KRB5_TC_MATCH_KEYTYPE;
|
||||
|
||||
ret = krb5_cc_retrieve_cred(context,
|
||||
ccache,
|
||||
in_creds->session.keytype ?
|
||||
KRB5_TC_MATCH_KEYTYPE : 0,
|
||||
options,
|
||||
in_creds, res_creds);
|
||||
if(ret == 0) {
|
||||
*out_creds = res_creds;
|
||||
|
Reference in New Issue
Block a user