Skip to content

Commit

Permalink
Fix:revert changes from copied files from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
mertakman committed Sep 30, 2024
1 parent e13ee5f commit b038eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cryptotest/aead.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ func TestAEAD(t *testing.T, mAEAD MakeAEAD) {
// Perturb the ciphertext and check for an error when Opening
alterCT := make([]byte, len(ciphertext))
copy(alterCT, ciphertext)
alterCT[len(alterCT)-1]++
alterCT[len(alterCT)-1] += 1
_, err := aead.Open(nil, nonce, alterCT, addData)

if err == nil {
Expand Down

0 comments on commit b038eea

Please sign in to comment.