Fix hosts not being added to known hosts file

This commit is contained in:
adnano
2020-09-27 16:06:17 -04:00
parent c4af352e87
commit 32a9fcba0c
2 changed files with 7 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ func init() {
return nil
} else if userTrustsCertificatePermanently() {
// Add the certificate to the known hosts file
knownHosts.Add(cert)
knownHosts.Add(req.Hostname(), cert)
return nil
}
}