use krb5_cc_new_unique, use constants for cache types

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25040 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-04-03 04:03:50 +00:00
parent e0229329fd
commit 68b804787c

View File

@@ -230,7 +230,7 @@ krb5_start_session(void)
char *cc_name;
int ret;
ret = krb5_cc_gen_new(context, &krb5_fcc_ops, &ccache2);
ret = krb5_cc_new_unique(context, krb5_cc_type_file, NULL, &ccache2);
if (ret) {
krb5_cc_destroy(context, ccache);
return 1;