Skip to content

Commit

Permalink
Update internal/testdrive/broker_start.go
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Zucchini <[email protected]>
  • Loading branch information
nouseforaname and zucchinidev authored Sep 4, 2024
1 parent a4f7e83 commit e880496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/testdrive/broker_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ func WithTLSConfig(isValid bool) StartBrokerOption {
defer privKeyFileBuf.Close()

if !isValid {
// If the isValid parameter is false, the server private key is intentionally corrupted
// by modifying one of its bytes.
serverPrivKey[10] = 'a'
}

Expand Down

0 comments on commit e880496

Please sign in to comment.