1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/windows/utils
Simon Tatham a2b376af96 Windows Pageant: turn 'has_security' into a global function.
Now it can be called from places other than Pageant's WinMain(). In
particular, the attempt to make a security descriptor in
lock_interprocess_mutex() is gated on it.

In return, however, I've tightened up the semantics. In normal PuTTY
builds that aren't trying to support pre-NT systems, the function
*unconditionally* returns true, on the grounds that we don't expect to
target any system that doesn't support the security APIs, and if
someone manages to contrive one anyway - or, more likely, if we some
day introduce a bug in our loading of the security API functions -
then this safety catch should make Pageant less likely to accidentally
fall back to 'never mind, just run in insecure mode'.
2022-03-12 21:05:07 +00:00
..
agent_mutex_name.c Windows Pageant: make atomic client/server decision. 2022-01-03 12:21:39 +00:00
agent_named_pipe_name.c Move agent_named_pipe_name into its own source file. 2022-01-03 12:12:05 +00:00
arm_arch_queries.c Break up crypto modules containing HW acceleration. 2021-04-21 21:55:26 +01:00
aux_match_opt.c Windows Pageant and PuTTYgen: spiff up option parsing. 2022-01-15 18:27:19 +00:00
cryptoapi.c Merge connshare socket naming fix from 'pre-0.75'. 2021-05-02 08:19:28 +01:00
defaults.c
dll_hijacking_protection.c
dputs.c Windows dputs: use WriteFile to avoid stdio buffering. 2021-09-30 19:00:11 +01:00
escape_registry_key.c
filename.c
fontspec.c
get_system_dir.c Factor out Windows utility function get_system_dir(). 2021-05-08 17:18:17 +01:00
get_username.c
getdlgitemtext_alloc.c
interprocess_mutex.c Windows Pageant: turn 'has_security' into a global function. 2022-03-12 21:05:07 +00:00
is_console_handle.c
load_system32_dll.c Factor out Windows utility function get_system_dir(). 2021-05-08 17:18:17 +01:00
ltime.c
make_spr_sw_abort_winerror.c Richer data type for interactive prompt results. 2021-12-28 18:08:31 +00:00
makedlgitemborderless.c
message_box.c
minefield.c
open_for_write_would_lose_data.c Remove hard dependency on GetFileAttributesEx. 2022-03-12 18:51:21 +00:00
pgp_fingerprints_msgbox.c
platform_get_x_display.c
registry_get_string.c
request_file.c
security.c Windows Pageant: turn 'has_security' into a global function. 2022-03-12 21:05:07 +00:00
split_into_argv.c Generalise strbuf_catf() into put_fmt(). 2021-11-19 11:32:47 +00:00
strtoumax.c
version.c Make init_winver() idempotent. 2022-03-12 18:51:21 +00:00
win_strerror.c