diff options
author | Greg Hudson <ghudson@mit.edu> | 2011-09-05 16:26:37 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2011-09-05 16:26:37 +0000 |
commit | f784a37909b68b7dfc1eed8c3a0e014639c90e45 (patch) | |
tree | fab81e4348cffe5ff453522f76ee49d6f5528cb3 /src/lib/krb5/ccache/cc_keyring.c | |
parent | 319c01a8f523843169b9e5342ac2d085ad67f8a2 (diff) | |
download | krb5-f784a37909b68b7dfc1eed8c3a0e014639c90e45.tar.gz krb5-f784a37909b68b7dfc1eed8c3a0e014639c90e45.tar.xz krb5-f784a37909b68b7dfc1eed8c3a0e014639c90e45.zip |
Add new cache collection APIs
* krb5_cc_get_full_name retrieves the full type:name of a cache.
* krb5_cc_switch makes a cache the primary cache.
* krb5_cc_cache_match searches the collection for a client principal.
* krb5_free_string releases a string (for the krb5_cc_get_full_name
result).
All of these are from Heimdal except for krb5_free_string (Heimdal uses
krb5_xfree).
ticket: 6954
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25155 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache/cc_keyring.c')
-rw-r--r-- | src/lib/krb5/ccache/cc_keyring.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/krb5/ccache/cc_keyring.c b/src/lib/krb5/ccache/cc_keyring.c index 2c77c3cda..fd1bcec38 100644 --- a/src/lib/krb5/ccache/cc_keyring.c +++ b/src/lib/krb5/ccache/cc_keyring.c @@ -2073,6 +2073,7 @@ const krb5_cc_ops krb5_krcc_ops = { NULL, /* wasdefault */ krb5_krcc_lock, krb5_krcc_unlock, + NULL, /* switch_to */ }; #else /* !USE_KEYRING_CCACHE */ @@ -2106,5 +2107,6 @@ const krb5_cc_ops krb5_krcc_ops = { NULL, NULL, NULL, + NULL, }; #endif /* USE_KEYRING_CCACHE */ |