diff options
author | Simon Tatham <anakin@pobox.com> | 2021-03-13 13:53:53 +0300 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2021-03-13 16:54:59 +0300 |
commit | 04758cb3ec076bc5c17e8c8dd689e2715c78b4ed (patch) | |
tree | e3ac60cf96bc8baf56d5bdd3dced7d27d1a59bdc /ssh.h | |
parent | 46b23c581a660eeff19f007f15383d3a9cc286ac (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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |