From: John Carr Date: Fri, 25 Sep 1992 03:04:27 +0000 (+0000) Subject: Principal type changes X-Git-Tag: krb5-1.0-beta2~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=edf545237e72d37b354411b4b592cd4b74216804;p=krb5.git Principal type changes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2407 dc483132-0cff-0310-8789-dd5450dbe970 --- 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