diff options
author | Jakob Unterwurzacher | 2016-02-06 20:22:45 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-02-06 20:22:45 +0100 |
commit | b0ee5258b1ac60b9a672d9db0816b17ae12d0e55 (patch) | |
tree | 3decdec7e3abf5978c2e936693a034cf838a16ca /internal/fusefrontend | |
parent | 9078a77850dd680bfa938d9ed7c83600a60c0e7b (diff) |
Fix tests - were broken by the refactoring
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r-- | internal/fusefrontend/fs.go | 4 |
1 files changed, 1 insertions, 3 deletions
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{ |