From edf545237e72d37b354411b4b592cd4b74216804 Mon Sep 17 00:00:00 2001 From: John Carr Date: Fri, 25 Sep 1992 03:04:27 +0000 Subject: [PATCH] Principal type changes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2407 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/acc_sec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/acc_sec.c b/src/lib/gssapi/acc_sec.c index 21282b793..f5f519925 100644 --- a/src/lib/gssapi/acc_sec.c +++ b/src/lib/gssapi/acc_sec.c @@ -116,8 +116,9 @@ OM_uint32 gss_accept_sec_context(minor_status, context_handle, /* * Setup the replay cache. */ - if (*minor_status = krb5_get_server_rcache(server[1], - &rcache)) + if (*minor_status = + krb5_get_server_rcache(krb5_princ_component(server, 1), + &rcache)) return(GSS_S_FAILURE); /* * Now let's rip apart the packet -- 2.26.2