mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-17 19:11:00 -05:00
More careful owner SID selection in the Pageant client code. This
should solve some of the SID-mismatch issues we've occasionally had reported. Because it's a modification on the client side, it doesn't affect the security of Pageant itself. [originally from svn r9043]
This commit is contained in:
@ -96,9 +96,9 @@ struct FontSpec {
|
||||
#define STR1(x) #x
|
||||
#define STR(x) STR1(x)
|
||||
#define GET_WINDOWS_FUNCTION_PP(module, name) \
|
||||
p_##name = module ? (t_##name) GetProcAddress(module, STR(name)) : NULL
|
||||
(p_##name = module ? (t_##name) GetProcAddress(module, STR(name)) : NULL)
|
||||
#define GET_WINDOWS_FUNCTION(module, name) \
|
||||
p_##name = module ? (t_##name) GetProcAddress(module, #name) : NULL
|
||||
(p_##name = module ? (t_##name) GetProcAddress(module, #name) : NULL)
|
||||
|
||||
/*
|
||||
* Global variables. Most modules declare these `extern', but
|
||||
|
Reference in New Issue
Block a user