+2004-04-13 Jeffrey Altman <jaltman@mit.edu>
+
+ * ccbase.c:
+ krb5_cc_resolve() defines a function pointer ccresolver
+ which must be of type KRB5_CALLCONV
+
+
2004-04-06 Jeffrey Altman <jaltman@mit.edu>
* cc_mslsa.c:
}
pfxlen = cp - name;
+
resid = name + pfxlen + 1;
-
+
pfx = malloc (pfxlen+1);
if (!pfx)
- return ENOMEM;
+ return ENOMEM;
memcpy (pfx, name, pfxlen);
pfx[pfxlen] = '\0';
}
for (tlist = cc_typehead; tlist; tlist = tlist->next) {
if (strcmp (tlist->ops->prefix, pfx) == 0) {
- krb5_error_code (*ccresolver)() = tlist->ops->resolve;
+ krb5_error_code (KRB5_CALLCONV *ccresolver)() = tlist->ops->resolve;
k5_mutex_unlock(&cc_typelist_lock);
free(pfx);
return (*ccresolver)(context, cache, resid);