Principal type changes
authorJohn Carr <jfc@mit.edu>
Fri, 25 Sep 1992 03:04:27 +0000 (03:04 +0000)
committerJohn Carr <jfc@mit.edu>
Fri, 25 Sep 1992 03:04:27 +0000 (03:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2407 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/acc_sec.c

index 21282b793d6116e91cd4560158ad4ae4104c8efe..f5f519925b99b762cde6bf3c4437efb2dd4f639c 100644 (file)
@@ -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