mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 01:57:40 -05:00
Fixed GSSAPI authentication.
gssapi32.dll from MIT Kerberos as well as from Heimdal both load further DLLs from their installation directories. [SGT: I polished the original patch a bit, in particular replacing manual memory allocation with dup_mb_to_wc. This required a Recipe change to link miscucs.c and winucs.c into more of the tools.]
This commit is contained in:

committed by
Simon Tatham

parent
d2653e79ab
commit
802b4edf4d
@ -512,6 +512,21 @@ const char *win_strerror(int error);
|
||||
void restrict_process_acl(void);
|
||||
GLOBAL int restricted_acl;
|
||||
|
||||
/* A few pieces of up-to-date Windows API definition needed for older
|
||||
* compilers. */
|
||||
#ifndef LOAD_LIBRARY_SEARCH_SYSTEM32
|
||||
#define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800
|
||||
#endif
|
||||
#ifndef LOAD_LIBRARY_SEARCH_USER_DIRS
|
||||
#define LOAD_LIBRARY_SEARCH_USER_DIRS 0x00000400
|
||||
#endif
|
||||
#ifndef LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR
|
||||
#define LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR 0x00000100
|
||||
#endif
|
||||
#if _MSC_VER < 1400
|
||||
typedef PVOID DLL_DIRECTORY_COOKIE;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Exports from sizetip.c.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user