mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
f9775a7b67
It's a class method rather than an object method, so it doesn't allow keys with the same algorithm to make different choices about what flags they support. But that's not what I wanted it for: the real purpose is to allow one key algorithm to delegate supported_flags to another, by having its method implementation call the one from the delegate class. (If only C's compile/link model permitted me to initialise a field of one global const struct variable to be a copy of that of another, I wouldn't need the runtime overhead of this method! But object file formats don't let you even specify that.) Most key algorithms support no flags at all, so they all want to use the same implementation of this method. So I've started a file of stubs utils/nullkey.c to contain the common stub version.
70 lines
1.2 KiB
CMake
70 lines
1.2 KiB
CMake
add_sources_from_current_dir(utils
|
|
antispoof.c
|
|
backend_socket_log.c
|
|
base64_decode_atom.c
|
|
base64_encode_atom.c
|
|
bufchain.c
|
|
buildinfo.c
|
|
burnstr.c
|
|
chomp.c
|
|
conf.c
|
|
conf_dest.c
|
|
conf_launchable.c
|
|
ctrlparse.c
|
|
debug.c
|
|
decode_utf8.c
|
|
decode_utf8_to_wchar.c
|
|
default_description.c
|
|
dupcat.c
|
|
dupprintf.c
|
|
dupstr.c
|
|
dup_mb_to_wc.c
|
|
dup_wc_to_mb.c
|
|
encode_utf8.c
|
|
encode_wide_string_as_utf8.c
|
|
fgetline.c
|
|
host_strchr.c
|
|
host_strchr_internal.c
|
|
host_strcspn.c
|
|
host_strduptrim.c
|
|
host_strrchr.c
|
|
key_components.c
|
|
log_proxy_stderr.c
|
|
make_spr_sw_abort_static.c
|
|
marshal.c
|
|
memory.c
|
|
memxor.c
|
|
null_lp.c
|
|
nullkey.c
|
|
nullseat.c
|
|
nullstrcmp.c
|
|
out_of_memory.c
|
|
parse_blocksize.c
|
|
prompts.c
|
|
ptrlen.c
|
|
read_file_into.c
|
|
seat_connection_fatal.c
|
|
sessprep.c
|
|
sk_free_peer_info.c
|
|
smemclr.c
|
|
smemeq.c
|
|
spr_get_error_message.c
|
|
ssh2_pick_fingerprint.c
|
|
sshutils.c
|
|
strbuf.c
|
|
string_length_for_printf.c
|
|
stripctrl.c
|
|
tempseat.c
|
|
tree234.c
|
|
validate_manual_hostkey.c
|
|
version.c
|
|
wcwidth.c
|
|
wildcard.c
|
|
write_c_string_literal.c
|
|
x11authfile.c
|
|
x11authnames.c
|
|
x11_dehexify.c
|
|
x11_identify_auth_proto.c
|
|
x11_make_greeting.c
|
|
x11_parse_ip.c)
|