Skip to content

Commit

Permalink
fix: remove scratched todo
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobilobi committed Jan 15, 2025
1 parent 69ab266 commit 96a14bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wsstat.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ func (r Result) Format(s fmt.State, verb rune) {

if r.TLSState != nil {
fmt.Fprintf(s, "TLS handshake details\n")
// TODO: tls.VersionName restricts use to go1.21+, consider alternatives
fmt.Fprintf(s, " Version: %s\n", tls.VersionName(r.TLSState.Version))
fmt.Fprintf(s, " Cipher Suite: %s\n", tls.CipherSuiteName(r.TLSState.CipherSuite))
fmt.Fprintf(s, " Server Name: %s\n", r.TLSState.ServerName)
Expand Down

0 comments on commit 96a14bc

Please sign in to comment.