Merge Kevin Coffman's keyring ccache branch for Linux, with some modifications:
authorKen Raeburn <raeburn@mit.edu>
Mon, 2 Oct 2006 22:50:10 +0000 (22:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 2 Oct 2006 22:50:10 +0000 (22:50 +0000)
commit15d7eedfe654faaa6a74dea83b5d42b2cb626a03
tree36f8d7ed4a5bae1de61ed94b28c4e425e0724580
parentc6598e259d3ea25a67fd7a02ef0d2fa0ea6b3bd0
Merge Kevin Coffman's keyring ccache branch for Linux, with some modifications:

aclocal.m4: Enable keyring ccache if the header and library are available; no
configure-time option.  No error if it's not found.

ccdefname.c: Keep old default of FILE: cache, at least for now.

libkrb5.exports: Don't export krb5_krcc_ops.

ccbase.c: Only initialize krb5int_krcc_mutex if USE_KEYRING_CCACHE; destroy it
in finalization.  Define INITIAL_TYPEHEAD macro (for file vs keyring), and use
it for initialization and in krb5int_cc_finalize.  Re-enable freeing of
additional registered-type structures.

cc_keyring.c: Avoid calls to com_err from within library.

cc_file.c: Punt change; generate_new is badly broken, and we expect to replace
it with a new API anyways.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18638 dc483132-0cff-0310-8789-dd5450dbe970
src/aclocal.m4
src/lib/krb5/ccache/Makefile.in
src/lib/krb5/ccache/cc-int.h
src/lib/krb5/ccache/cc_keyring.c [new file with mode: 0644]
src/lib/krb5/ccache/ccbase.c
src/lib/krb5/ccache/t_cc.c