use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25062 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -117,7 +117,8 @@ krb5_verify_init_creds(krb5_context context,
|
||||
if (ccache && *ccache)
|
||||
local_ccache = *ccache;
|
||||
else {
|
||||
ret = krb5_cc_gen_new (context, &krb5_mcc_ops, &local_ccache);
|
||||
ret = krb5_cc_new_unique(context, krb5_cc_type_memory,
|
||||
NULL, &local_ccache);
|
||||
if (ret)
|
||||
goto cleanup;
|
||||
ret = krb5_cc_initialize (context,
|
||||
|
Reference in New Issue
Block a user