From d94a96ac20661f15871d5314c67515c581b5ee04 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 17 Nov 1995 01:30:40 +0000 Subject: [PATCH] (krb5_get_server_rcache): Use krb5_rc_default_type instead of assuming default rcache type is "dfl". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7110 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/srv_rcache.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index d65ede9bc..7c307bf10 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 16 20:29:17 1995 Ezra Peisach + + * srv_rcache.c (krb5_get_server_rcache): Use krb5_rc_default_type + instead of assuming default rcache type is "dfl". + Mon Nov 13 14:40:05 1995 * walk_rtree.c (krb5_walk_realm_tree): Added ANL changes to diff --git a/src/lib/krb5/krb/srv_rcache.c b/src/lib/krb5/krb/srv_rcache.c index aa2ac6563..59fd5e2a1 100644 --- a/src/lib/krb5/krb/srv_rcache.c +++ b/src/lib/krb5/krb/srv_rcache.c @@ -44,7 +44,8 @@ krb5_get_server_rcache(context, piece, rcptr) if (!rcache) return ENOMEM; - retval = krb5_rc_resolve_type(context, &rcache, "dfl"); + retval = krb5_rc_resolve_type(context, &rcache, + krb5_rc_default_type(context)); if (retval) goto cleanup; len = piece->length + 3 + 1; -- 2.26.2