Function cargo::sources::git::known_hosts::certificate_check
source · pub fn certificate_check(
config: &Config,
cert: &Cert<'_>,
host: &str,
port: Option<u16>,
config_known_hosts: Option<&Vec<Value<String>>>,
diagnostic_home_config: &str
) -> Result<CertificateCheckStatus, Error>
Expand description
The git2 callback used to validate a certificate (only ssh known hosts are validated).