Skip to content

Commit

Permalink
fix unreachable code after log.Fatal in fuzzing corpus generator (#3496)
Browse files Browse the repository at this point in the history
Signed-off-by: Abirdcfly <[email protected]>

Signed-off-by: Abirdcfly <[email protected]>
  • Loading branch information
Abirdcfly authored Aug 12, 2022
1 parent bea5de0 commit dbb7a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzzing/handshake/cmd/corpus.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ func newRunner(client, server *handshake.CryptoSetup) *runner {
func (r *runner) OnReceivedParams(*wire.TransportParameters) {}
func (r *runner) OnHandshakeComplete() {}
func (r *runner) OnError(err error) {
log.Fatal("runner error:", err)
(*r.client).Close()
(*r.server).Close()
log.Fatal("runner error:", err)
}
func (r *runner) DropKeys(protocol.EncryptionLevel) {}

Expand Down

0 comments on commit dbb7a21

Please sign in to comment.