Skip to content

Commit

Permalink
Minor issues from review of #1323 (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwh33 authored Sep 1, 2023
1 parent 8c5531b commit 3064338
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hellocap/hellocap.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@ func (c *capturingConn) checkHello(newBytes []byte) {
}
_, err := f.FingerprintClientHello(c.helloBuf.Bytes()[:nHello])
if err != nil {
c.onHello(nil, err)
c.onHello(nil, fmt.Errorf("fingerprint failure: %w", err))
} else {
fmt.Println("fingerprinting okay")
c.onHello(c.helloBuf.Bytes()[:nHello], nil)
}
c.helloRead = true
Expand Down

0 comments on commit 3064338

Please sign in to comment.