mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 04:52:47 -05:00
Factor KEXINIT analysis out into its own function.
The function takes the two KEXINIT packets in their string form, together with a list of mappings from names to known algorithm implementations, and returns the selected one of each kind, along with all the other necessary auxiliary stuff.
This commit is contained in:
1
ssh.h
1
ssh.h
@ -1479,6 +1479,7 @@ int first_in_commasep_string(char const *needle, char const *haystack,
|
||||
int haylen);
|
||||
int in_commasep_string(char const *needle, char const *haystack, int haylen);
|
||||
void add_to_commasep(strbuf *buf, const char *data);
|
||||
int get_commasep_word(ptrlen *list, ptrlen *word);
|
||||
|
||||
int verify_ssh_manual_host_key(
|
||||
Conf *conf, const char *fingerprint, ssh_key *key);
|
||||
|
Reference in New Issue
Block a user