summaryrefslogtreecommitdiff
path: root/kpasswd
diff options
context:
space:
mode:
authorLove Hörnquist Åstrand <lha@kth.se>2009-04-03 04:05:48 +0000
committerLove Hörnquist Åstrand <lha@kth.se>2009-04-03 04:05:48 +0000
commit5c0fc04d813a2c8d203078b58bdde45046a88941 (patch)
tree89d9ceecf06877f41e311453a8fb326e97b2e7a4 /kpasswd
parent22d7aecc023916428a14e75e41f30e8b4897a32e (diff)
use krb5_cc_new_unique, use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25050 ec53bebd-3082-4978-b11e-865c3cabbd6b
Diffstat (limited to 'kpasswd')
-rw-r--r--kpasswd/kpasswd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpasswd/kpasswd.c b/kpasswd/kpasswd.c
index f67130a05..c2f980b25 100644
--- a/kpasswd/kpasswd.c
+++ b/kpasswd/kpasswd.c
@@ -153,9 +153,9 @@ main (int argc, char **argv)
if (ret)
krb5_err (context, 1, ret, "krb5_cc_resolve");
} else {
- ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &id);
+ ret = krb5_cc_new_unique(context, krb5_cc_type_memory, NULL, &id);
if (ret)
- krb5_err (context, 1, ret, "krb5_cc_gen_new");
+ krb5_err (context, 1, ret, "krb5_cc_new_unique");
}
if (cred_cache_str == NULL) {