use krb5_cc_new_unique, use constants for cache types

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25064 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-04-03 04:08:19 +00:00
parent 9c18bf414c
commit 2de7c28777

View File

@@ -846,7 +846,7 @@ main (int argc, char **argv)
else {
if(argc > 1) {
char s[1024];
ret = krb5_cc_gen_new(context, &krb5_fcc_ops, &ccache);
ret = krb5_cc_new_unique(context, NULL, NULL, &ccache);
if(ret)
krb5_err(context, 1, ret, "creating cred cache");
snprintf(s, sizeof(s), "%s:%s",