diff --git a/hellocap/hellocap.go b/hellocap/hellocap.go index 6bb729747..b0decaa5d 100644 --- a/hellocap/hellocap.go +++ b/hellocap/hellocap.go @@ -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