]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove unused counter in keyring ccache
authorSimo Sorce <simo@redhat.com>
Thu, 8 Aug 2013 23:52:46 +0000 (19:52 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 16 Aug 2013 17:54:57 +0000 (13:54 -0400)
commit04230a60436a95fb48bb73f5d70c824989cf0e09
tree2afb9334063853cd9d867a8f59ede01231ce3941
parent9246c6f5bde8ed82eb3bec101c61a5c16806269b
Remove unused counter in keyring ccache

numkeys is never really used in the single cache data structure.
Every time a new iteration is started, numkeys is recalculated anyway,
and then only the copy held in the cursor is used.  Remove it from the
cache data and keep it only in the cursor.

[ghudson@mit.edu: clarified commit message]
src/lib/krb5/ccache/cc_keyring.c