summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2002-06-20 23:02:31 +0000
committerTom Yu <tlyu@mit.edu>2002-06-20 23:02:31 +0000
commit82e2a6b9a6c0518436775989d49b8f1b3dbbf043 (patch)
tree01d696debcefc813b4ce26f743bdcc54733cd3af /src
parent2b1d8a508ff0564dcb8efde89224aba183282edc (diff)
downloadkrb5-82e2a6b9a6c0518436775989d49b8f1b3dbbf043.tar.gz
krb5-82e2a6b9a6c0518436775989d49b8f1b3dbbf043.tar.xz
krb5-82e2a6b9a6c0518436775989d49b8f1b3dbbf043.zip
* Makefile.in: Build cc accessor functions on Windows
* 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
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/ChangeLog20
-rw-r--r--src/lib/krb5/ccache/Makefile.in2
-rw-r--r--src/lib/krb5/ccache/ccdefault.c9
-rw-r--r--src/lib/krb5/ccache/ccdefops.c2
4 files changed, 28 insertions, 5 deletions
diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog
index 21e9b7b70c..6a9d054e9f 100644
--- a/src/lib/krb5/ccache/ChangeLog
+++ b/src/lib/krb5/ccache/ChangeLog
@@ -1,3 +1,23 @@
+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
diff --git a/src/lib/krb5/ccache/Makefile.in b/src/lib/krb5/ccache/Makefile.in
index f81d4250f0..4812a48c83 100644
--- a/src/lib/krb5/ccache/Makefile.in
+++ b/src/lib/krb5/ccache/Makefile.in
@@ -51,6 +51,8 @@ SRCS= $(srcdir)/ccbase.c \
$(srcdir)/ccfns.c \
$(srcdir)/ser_cc.c
+##DOS##OBJS=$(OBJS) $(OUTPRE)ccfns.$(OBJEXT)
+
all-unix:: all-libobjs
all-windows:: subdirs $(OBJFILE)
diff --git a/src/lib/krb5/ccache/ccdefault.c b/src/lib/krb5/ccache/ccdefault.c
index 7fde85286d..fcdfb769e7 100644
--- a/src/lib/krb5/ccache/ccdefault.c
+++ b/src/lib/krb5/ccache/ccdefault.c
@@ -27,12 +27,12 @@
* 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;
@@ -98,7 +98,8 @@ krb5int_cc_default(context, ccache)
}
/* 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
diff --git a/src/lib/krb5/ccache/ccdefops.c b/src/lib/krb5/ccache/ccdefops.c
index 2651273bec..092503e998 100644
--- a/src/lib/krb5/ccache/ccdefops.c
+++ b/src/lib/krb5/ccache/ccdefops.c
@@ -30,7 +30,7 @@
#include "k5-int.h"
-#if defined(macintosh)
+#if defined(USE_CCAPI)
/*
* Macs use the shared, memory based credentials cache