Skip to content

Commit

Permalink
Update mitm.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Connection Refused committed Nov 24, 2020
1 parent f07fa6a commit 2fe2ac6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mitm.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ func handleTLS(client net.Conn) {
length = int(data[offset])
offset += 1
offset += length
if size < offset {
return
}

// Extension Length
offset += 2
Expand All @@ -248,9 +245,6 @@ func handleTLS(client net.Conn) {
// Extension Length
length = (int(data[offset]) << 8) + int(data[offset+1])
offset += 2
if size < offset+1 {
return
}

// Extension: Server Name
if name == 0 {
Expand Down

0 comments on commit 2fe2ac6

Please sign in to comment.