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 <fp544037857@gmail.com>

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
  • Loading branch information
Abirdcfly committed 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
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.