From a7e136a5d72d52e34d68ecccc10b396286f2cf26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 3 Apr 2009 04:07:17 +0000 Subject: [PATCH] use krb5_cc_new_unique, use constants for cache types git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25058 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/fcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/fcache.c b/lib/krb5/fcache.c index 4e8ff0199..7417e904b 100644 --- a/lib/krb5/fcache.c +++ b/lib/krb5/fcache.c @@ -743,7 +743,7 @@ fcc_remove_cred(krb5_context context, char *newname; int fd; - ret = krb5_cc_gen_new(context, &krb5_mcc_ops, ©); + ret = krb5_cc_new_unique(context, krb5_cc_new_unique, NULL, ©); if (ret) return ret;