+2004-06-04 Ken Raeburn <raeburn@mit.edu>
+
+ * srv_rcache.c (krb5_get_server_rcache): Don't forget to actually
+ include the cache type in the cache name, after looking it up.
+
2004-06-02 Ken Raeburn <raeburn@mit.edu>
* init_ctx.c (init_common): Don't call krb5_init_ets.
/* Macro for valid RC name characters*/
#define isvalidrcname(x) ((!ispunct(x))&&isgraph(x))
krb5_error_code KRB5_CALLCONV
-krb5_get_server_rcache(krb5_context context, const krb5_data *piece, krb5_rcache *rcptr)
+krb5_get_server_rcache(krb5_context context, const krb5_data *piece,
+ krb5_rcache *rcptr)
{
krb5_rcache rcache = 0;
char *cachename = 0, *cachetype;
retval = ENOMEM;
goto cleanup;
}
+ strcpy(cachename, cachetype);
p = strlen(cachename);
+ cachename[p++] = ':';
for (i = 0; i < piece->length; i++) {
if (piece->data[i] == '-') {
cachename[p++] = '-';