summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/ccache/ccapi/ChangeLog7
-rw-r--r--src/lib/krb5/ccache/ccapi/winccld.c7
2 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/ccapi/ChangeLog b/src/lib/krb5/ccache/ccapi/ChangeLog
index 1e152d98b..ff4afb173 100644
--- a/src/lib/krb5/ccache/ccapi/ChangeLog
+++ b/src/lib/krb5/ccache/ccapi/ChangeLog
@@ -1,3 +1,10 @@
+Thu May 13 18:01:58 1999 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * winccld.c (krb5_win_ccdll_load): Register the FILE ccache type
+ if we are using ccapi, so that we make sure the FILE
+ ccache type will work if the user specifies it in an
+ environment variable.
+
Mon May 10 15:24:36 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
diff --git a/src/lib/krb5/ccache/ccapi/winccld.c b/src/lib/krb5/ccache/ccapi/winccld.c
index 5b9789611..2792ceeda 100644
--- a/src/lib/krb5/ccache/ccapi/winccld.c
+++ b/src/lib/krb5/ccache/ccapi/winccld.c
@@ -8,6 +8,9 @@
#include <stdio.h>
#include "stdcc.h"
+/* from fcc-proto.h */
+KRB5_DLLIMP extern krb5_cc_ops krb5_fcc_ops;
+
#define KRB5_WINCCLD_C_
#include "winccld.h"
@@ -70,8 +73,10 @@ static int LoadFuncs(const char* dll_name, FUNC_INFO fi[],
return LF_OK;
}
-void krb5_win_ccdll_load()
+void krb5_win_ccdll_load(context)
+ krb5_context context;
{
+ krb5_cc_register(context, &krb5_fcc_ops, 0);
if (krb5_win_ccdll_loaded)
return;
if (LoadFuncs(KRBCC_DLL, krbcc_fi, 0, 0))