use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25052 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -187,7 +187,8 @@ static OM_uint32 acquire_initiator_cred
|
||||
krb5_get_init_creds_opt_free(context, opt);
|
||||
if (kret)
|
||||
goto end;
|
||||
kret = krb5_cc_gen_new(context, &krb5_mcc_ops, &ccache);
|
||||
kret = krb5_cc_new_unique(context, krb5_cc_type_memory,
|
||||
NULL, &ccache);
|
||||
if (kret)
|
||||
goto end;
|
||||
kret = krb5_cc_initialize(context, ccache, cred.client);
|
||||
|
Reference in New Issue
Block a user