* ccdefault.c: updated to new KLL function name
* ccdefault.c: swapped include of KerberosLoginPrivate with
k5-int.h to avoid problems with including CoreServices.h after
profile.h and krb.h
* ccdefault.c: Updated Mac OS X headers to new framework layout
* ccdefops.c: created #define for USE_CCAPI now that both Mac OS 9
and Mac OS 10 use ccapi.
[pullups from 1-2-2-branch]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14549
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-60-20 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Build cc accessor functions on Windows.
+ [pullup from 1-2-2-branch]
+
+2002-06-20 Alexandra Ellwood <lxs@mit.edu>
+
+ * ccdefault.c: updated to new KLL function name
+
+ * ccdefault.c: swapped include of KerberosLoginPrivate with
+ k5-int.h to avoid problems with including CoreServices.h after
+ profile.h and krb.h
+
+ * ccdefault.c: Updated Mac OS X headers to new framework layout
+
+ * ccdefops.c: created #define for USE_CCAPI now that both Mac OS 9
+ and Mac OS 10 use ccapi.
+
+ [pullups from 1-2-2-branch]
+
2002-04-10 Danilo Almeida <dalmeida@mit.edu>
* cc_file.c: Use _WIN32 instead of _WINSOCKAPI_ because
$(srcdir)/ccfns.c \
$(srcdir)/ser_cc.c
+##DOS##OBJS=$(OBJS) $(OUTPRE)ccfns.$(OBJEXT)
+
all-unix:: all-libobjs
all-windows:: subdirs $(OBJFILE)
* Find default credential cache
*/
-#include "k5-int.h"
-
#ifdef USE_LOGIN_LIBRARY
-#include <KerberosLoginInternal.h>
+#include <Kerberos/KerberosLoginPrivate.h>
#endif
+#include "k5-int.h"
+
krb5_error_code KRB5_CALLCONV
krb5_cc_default(context, ccache)
krb5_context context;
}
/* Try to make sure a krb5 tgt is in the cache */
- err = __KLInternalAcquireTicketsForCache (desiredPrincipal, krb5_cc_default_name(context),
+ err = __KLInternalAcquireInitialTicketsForCache (desiredPrincipal, NULL,
+ krb5_cc_default_name (context),
kerberosVersion_V5, nil, &outCacheName);
if (err == klNoErr) {
/* This function tries to get tickets and put them in the specified
#include "k5-int.h"
-#if defined(macintosh)
+#if defined(USE_CCAPI)
/*
* Macs use the shared, memory based credentials cache