Skip to content

Commit

Permalink
Fixed minor bug
Browse files Browse the repository at this point in the history
Signed-off-by: El Mostafa Idrassi <[email protected]>
  • Loading branch information
ElMostafaIdrassi committed Feb 9, 2022
1 parent 1a46399 commit 31783ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, "=========== TLS Connection State ===========\n")
io.WriteString(w, "HandshakeComplete : "+fmt.Sprintf("%v", state.HandshakeComplete)+"\n")
io.WriteString(w, "Version : "+tlsVersionToString(state.Version)+"("+fmt.Sprintf("%v", state.Version)+")\n")
io.WriteString(w, "CipherSuite : "+tlsVersionToString(state.CipherSuite)+"("+fmt.Sprintf("%v", state.CipherSuite)+")\n")
io.WriteString(w, "CipherSuite : "+cipherSuiteToString(state.CipherSuite)+"("+fmt.Sprintf("%v", state.CipherSuite)+")\n")
io.WriteString(w, "NegotiatedProtocol : "+state.NegotiatedProtocol+"\n\n")

io.WriteString(w, "=========== Request State ===========\n")
Expand Down

0 comments on commit 31783ba

Please sign in to comment.