diff options
author | Frank Denis | 2025-03-12 00:32:04 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-03-12 20:43:23 +0100 |
commit | 3e852eb354f99fb95b399c68d950298b33ed88ab (patch) | |
tree | 6218e3b655e5ebf778c026b9dee5b1fe3f306950 /internal/contentenc/offsets_test.go | |
parent | e9d6fb4b3f16d04fa56a66acad46eafad4f8aba1 (diff) |
Do what @rfjakob asked me to do
Diffstat (limited to 'internal/contentenc/offsets_test.go')
-rw-r--r-- | internal/contentenc/offsets_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/contentenc/offsets_test.go b/internal/contentenc/offsets_test.go index 0118c5e..b35964a 100644 --- a/internal/contentenc/offsets_test.go +++ b/internal/contentenc/offsets_test.go @@ -9,8 +9,7 @@ import ( // TestSizeToSize tests CipherSizeToPlainSize and PlainSizeToCipherSize func TestSizeToSize(t *testing.T) { - keyLen := cryptocore.BackendGoGCM.KeyLen - key := make([]byte, keyLen) + key := make([]byte, cryptocore.KeyLen) cc := cryptocore.New(key, cryptocore.BackendGoGCM, DefaultIVBits, true) ce := New(cc, DefaultBS) |