From b0ee5258b1ac60b9a672d9db0816b17ae12d0e55 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 6 Feb 2016 20:22:45 +0100 Subject: Fix tests - were broken by the refactoring --- internal/fusefrontend/fs.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal/fusefrontend') diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go index 0331215..a2deee5 100644 --- a/internal/fusefrontend/fs.go +++ b/internal/fusefrontend/fs.go @@ -21,8 +21,6 @@ import ( "github.com/rfjakob/gocryptfs/internal/configfile" ) -const plainBS = 4096 - type FS struct { pathfs.FileSystem // loopbackFileSystem, see go-fuse/fuse/pathfs/loopback.go args Args // Stores configuration arguments @@ -40,7 +38,7 @@ type FS struct { func NewFS(args Args) *FS { cryptoCore := cryptocore.New(args.Masterkey, args.OpenSSL, args.GCMIV128) - contentEnc := contentenc.New(cryptoCore, plainBS) + contentEnc := contentenc.New(cryptoCore, contentenc.DefaultBS) nameTransform := nametransform.New(cryptoCore, args.EMENames) return &FS{ -- cgit v1.2.3