Skip to content

Commit

Permalink
known hosts: design hosts by their canonical representation
Browse files Browse the repository at this point in the history
  • Loading branch information
francoismichel committed Jan 3, 2024
1 parent 366a400 commit 011c429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ssh3/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func setupQUICConnection(ctx context.Context, skipHostVerification bool, keylog
qconf.EnableDatagrams = true
qconf.KeepAlivePeriod = 1 * time.Second

if certs, ok := knownHosts[options.Hostname()]; ok {
if certs, ok := knownHosts[options.CaonicalHostFormat()]; ok {
foundSelfsignedSSH3 := false

for _, cert := range certs {
Expand Down

0 comments on commit 011c429

Please sign in to comment.