aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend
diff options
context:
space:
mode:
authorFrank Denis2025-03-12 00:32:04 +0100
committerJakob Unterwurzacher2025-03-12 20:43:23 +0100
commit3e852eb354f99fb95b399c68d950298b33ed88ab (patch)
tree6218e3b655e5ebf778c026b9dee5b1fe3f306950 /internal/fusefrontend
parente9d6fb4b3f16d04fa56a66acad46eafad4f8aba1 (diff)
Do what @rfjakob asked me to do
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r--internal/fusefrontend/xattr_unit_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/fusefrontend/xattr_unit_test.go b/internal/fusefrontend/xattr_unit_test.go
index 5f69e00..86c87a7 100644
--- a/internal/fusefrontend/xattr_unit_test.go
+++ b/internal/fusefrontend/xattr_unit_test.go
@@ -16,8 +16,7 @@ import (
func newTestFS(args Args) *RootNode {
// Init crypto backend
- keyLen := cryptocore.BackendGoGCM.KeyLen
- key := make([]byte, keyLen)
+ key := make([]byte, cryptocore.KeyLen)
cCore := cryptocore.New(key, cryptocore.BackendGoGCM, contentenc.DefaultIVBits, true)
cEnc := contentenc.New(cCore, contentenc.DefaultBS)
n := nametransform.New(cCore.EMECipher, true, 0, true, nil, false)