use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25039 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -191,7 +191,7 @@ krb5_verify(const struct passwd *login_info,
|
||||
if (su_info->pw_uid == 0 && !krb5_kuserok(context, p, su_info->pw_name))
|
||||
continue;
|
||||
|
||||
ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &ccache);
|
||||
ret = krb5_cc_new_unique(context, krb5_cc_type_memory, NULL, &ccache);
|
||||
if(ret) {
|
||||
krb5_free_host_realm(context, realms);
|
||||
krb5_free_principal (context, p);
|
||||
|
Reference in New Issue
Block a user