summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1999-05-13 22:03:48 +0000
committerTheodore Tso <tytso@mit.edu>1999-05-13 22:03:48 +0000
commit1aa7bb2d38db8adb81d3943fb5da887be25ad193 (patch)
treedda22b43b75459fdb164a2f43595ce3da3e19db8 /src/lib/krb5/ccache
parent0940f3b9980f0e44f2baeecedcaeadb15dd05e6f (diff)
downloadkrb5-1aa7bb2d38db8adb81d3943fb5da887be25ad193.tar.gz
krb5-1aa7bb2d38db8adb81d3943fb5da887be25ad193.tar.xz
krb5-1aa7bb2d38db8adb81d3943fb5da887be25ad193.zip
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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11441 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache')
-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))