Windows 64-bit CCAPI DLL name
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 29 Aug 2007 17:20:20 +0000 (17:20 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 29 Aug 2007 17:20:20 +0000 (17:20 +0000)
The 64-bit CCAPI DLL name is krbcc64.dll not krbcc32.dll.
Conditionalize it on _WIN64.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19892 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ccapi/winccld.c

index ac3a8e4781a662b2a9e7d85080b5990e3adeb15c..22646e1ee104c5e6fb2e812b0b430b6e9f7ed13a 100644 (file)
@@ -27,7 +27,11 @@ extern int krb5_is_ccdll_loaded();
 #define LF_NODLL       1
 #define LF_NOFUNC      2
 
+#ifdef _WIN64
+#define KRBCC_DLL      "krbcc64.dll"
+#else
 #define KRBCC_DLL      "krbcc32.dll"
+#endif
 
 static int LoadFuncs(const char* dll_name, FUNC_INFO fi[],
                     HINSTANCE* ph, int debug);