Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2021-03-13 13:53:53 +0300
committerSimon Tatham <anakin@pobox.com>2021-03-13 16:54:59 +0300
commit04758cb3ec076bc5c17e8c8dd689e2715c78b4ed (patch)
treee3ac60cf96bc8baf56d5bdd3dced7d27d1a59bdc /ssh.h
parent46b23c581a660eeff19f007f15383d3a9cc286ac (diff)
Allow pre-storing host key fingerprints of all types.
verify_ssh_manual_host_key() now takes an array of all key fingerprints instead of just the default type, which means that an expected key fingerprint stored in the session configuration can now be matched against any of them.
Diffstat (limited to 'ssh.h')
-rw-r--r--ssh.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ssh.h b/ssh.h
index acffbe32..3e46b814 100644
--- a/ssh.h
+++ b/ssh.h
@@ -1686,8 +1686,7 @@ unsigned alloc_channel_id_general(tree234 *channels, size_t localid_offset);
void add_to_commasep(strbuf *buf, const char *data);
bool get_commasep_word(ptrlen *list, ptrlen *word);
-int verify_ssh_manual_host_key(
- Conf *conf, const char *fingerprint, ssh_key *key);
+int verify_ssh_manual_host_key(Conf *conf, char **fingerprints, ssh_key *key);
typedef struct ssh_transient_hostkey_cache ssh_transient_hostkey_cache;
ssh_transient_hostkey_cache *ssh_transient_hostkey_cache_new(void);