cargo::sources::git::known_hosts

Function check_ssh_known_hosts_loaded

source
fn check_ssh_known_hosts_loaded(
    known_hosts: &[KnownHost],
    host: &str,
    remote_key_type: SshHostKeyType,
    remote_host_key: &[u8],
) -> Result<(), KnownHostError>
Expand description

Checks a host key against a loaded set of known hosts.