Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
s-pon committed Dec 16, 2020
1 parent 3fc15a9 commit 2d696aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func GetProbes(hostname string, port int) []JarmProbeOptions {
tls13MiddleOut := JarmProbeOptions{Hostname: hostname, Port: port, Version: tls.VersionTLS13, Ciphers: "ALL", CipherOrder: "MIDDLE_OUT", Grease: "GREASE", ALPN: "ALPN", V13Mode: "1.3_SUPPORT", ExtensionOrder: "REVERSE"}

return []JarmProbeOptions{
tls12Forward, tls12Reverse, tls12TopHalf, tls12BottomHalf, tls12MiddleOut, tls11Forward, tls13Forward, tls13Reverse, tls13Invalid, tls13MiddleOut,
tls12Forward, tls12Reverse, tls12TopHalf, tls12BottomHalf, tls12MiddleOut, tls11Forward, tls13Forward, tls13Reverse, tls13Invalid, tls13MiddleOut,
}
}

Expand Down Expand Up @@ -287,8 +287,8 @@ func ExtGetKeyShare(grease bool) []byte {
shareExt = append(shareExt, 0x00, 0x1d)
shareExt = append(shareExt, 0x00, 0x20)
shareExt = append(shareExt, RandomBytes(32)...)
secondLength := len(shareExt)
firstLength := secondLength + 2
secondLength := len(shareExt)
firstLength := secondLength + 2
ext = append(ext, GetUint16Bytes(firstLength)...)
ext = append(ext, GetUint16Bytes(secondLength)...)
ext = append(ext, shareExt...)
Expand Down

0 comments on commit 2d696aa

Please sign in to comment.