Skip to content

Commit

Permalink
Fixed error. Removed extra f, _ := flags.(*SSHFlags)
Browse files Browse the repository at this point in the history
  • Loading branch information
espegro committed Nov 19, 2021
1 parent 324cfc7 commit 05dd550
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ func (s *SSHScanner) Init(flags zgrab2.ScanFlags) error {
if len(s.config.HostKeyAlgorithms) == 0 {
s.config.HostKeyAlgorithms = string(strings.Join(sc.HostKeyAlgorithms, ","))
}
f, _ := flags.(*SSHFlags)
return nil
}

Expand Down

0 comments on commit 05dd550

Please sign in to comment.