From 877cb93a71ed63e3fdb744bd5228c1311193939e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 3 Apr 2009 04:03:28 +0000 Subject: [PATCH] use constants for cache types git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25038 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/rsh/rshd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/rsh/rshd.c b/appl/rsh/rshd.c index f2989b86b..d5dbb6a94 100644 --- a/appl/rsh/rshd.c +++ b/appl/rsh/rshd.c @@ -172,7 +172,7 @@ save_krb5_creds (int s, if (remote_cred.length == 0) return 0; - 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_data_free(&remote_cred); return 0;