pull up r19892 from trunk
authorTom Yu <tlyu@mit.edu>
Sat, 29 Sep 2007 00:01:57 +0000 (00:01 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 29 Sep 2007 00:01:57 +0000 (00:01 +0000)
 r19892@cathode-dark-space:  jaltman | 2007-08-29 13:20:20 -0400
 ticket: new
 subject: Windows 64-bit CCAPI DLL name

 The 64-bit CCAPI DLL name is krbcc64.dll not krbcc32.dll.
 Conditionalize it on _WIN64.

ticket: 5698
version_fixed: 1.6.3

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20006 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);