From b038eea63cb2f14e78ece0610ae910e420500bcb Mon Sep 17 00:00:00 2001 From: mertakman Date: Mon, 30 Sep 2024 14:54:36 +0100 Subject: [PATCH] Fix:revert changes from copied files from upstream --- internal/cryptotest/aead.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cryptotest/aead.go b/internal/cryptotest/aead.go index f08bcf7..6d0f204 100644 --- a/internal/cryptotest/aead.go +++ b/internal/cryptotest/aead.go @@ -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 {