From a0edcc9231c6b90f723c108f3b3a8224788ef112 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 3 Apr 2009 04:07:59 +0000 Subject: [PATCH] use krb5_cc_new_unique, use constants for cache types git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25062 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/verify_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/krb5/verify_init.c b/lib/krb5/verify_init.c index 9d537b8ac..3e6735062 100644 --- a/lib/krb5/verify_init.c +++ b/lib/krb5/verify_init.c @@ -117,7 +117,8 @@ krb5_verify_init_creds(krb5_context context, if (ccache && *ccache) local_ccache = *ccache; else { - ret = krb5_cc_gen_new (context, &krb5_mcc_ops, &local_ccache); + ret = krb5_cc_new_unique(context, krb5_cc_type_memory, + NULL, &local_ccache); if (ret) goto cleanup; ret = krb5_cc_initialize (context, -- 2.11.4.GIT