mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Move verify_ssh_manual_host_key into sshcommon.c
This is essentially trivial, because the only thing it needed from the Ssh structure was the Conf. So the version in sshcommon.c just takes an actual Conf as an argument, and now it doesn't need access to the big structure definition any more.
This commit is contained in:
3
ssh.h
3
ssh.h
@ -1349,3 +1349,6 @@ 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 verify_ssh_manual_host_key(
|
||||
Conf *conf, const char *fingerprint, ssh_key *key);
|
||||
|
Reference in New Issue
Block a user