]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix KCM ccache per-type cursor
authorGreg Hudson <ghudson@mit.edu>
Thu, 28 Aug 2014 22:43:56 +0000 (18:43 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sat, 30 Aug 2014 15:26:51 +0000 (11:26 -0400)
commit956cbd24e645609c94fbc836840ce0f87ba3ce79
treee93c2ee95362f9b290897b43b69d64984363f717
parenta85923073ad2d1f5d0314ab330fd6c5f07749be8
Fix KCM ccache per-type cursor

The KCM per-type cursor was too simplistic and did not obey the
conventions of the other ccache types.  Fix it to return a singleton
cursor when the default cache is a subsidiary and to return the
primary cache first.

For internal convenience, make_cache now accepts a context parameter
and creates a kcmio if necessary.

ticket: 8002 (new)
target_version: 1.13
src/lib/krb5/ccache/cc_kcm.c