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:
Love Hörnquist Åstrand
2009-04-03 04:07:59 +00:00
parent d32a5564a6
commit a0edcc9231

View File

@@ -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,