diff --git a/fuzzing/handshake/fuzz.go b/fuzzing/handshake/fuzz.go index 71d81421..e2ee1095 100644 --- a/fuzzing/handshake/fuzz.go +++ b/fuzzing/handshake/fuzz.go @@ -116,6 +116,9 @@ func newRunner(client, server *handshake.CryptoSetup, role string) *runner { func (r *runner) OnReceivedParams(*wire.TransportParameters) {} func (r *runner) OnHandshakeComplete() {} func (r *runner) OnError(err error) { + if r.errored { + return + } r.errored = true (*r.client).Close() (*r.server).Close()