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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user