aboutsummaryrefslogtreecommitdiff
path: root/cryptfs/content_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-11-03 18:19:19 +0100
committerJakob Unterwurzacher2015-11-03 18:19:19 +0100
commit28b3af12d1c48f45b07552e68fd09b2e4cda28b6 (patch)
tree3beaf30fd4ef4048a42745a07e8e54523de670f9 /cryptfs/content_test.go
parent6db57b15c9ffdcd53a35cb1e0f45984735fc71ac (diff)
Fix tests broken by PlaintextNames addition
Diffstat (limited to 'cryptfs/content_test.go')
-rw-r--r--cryptfs/content_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cryptfs/content_test.go b/cryptfs/content_test.go
index 37635f0..dbedf87 100644
--- a/cryptfs/content_test.go
+++ b/cryptfs/content_test.go
@@ -21,7 +21,7 @@ func TestSplitRange(t *testing.T) {
testRange{6654, 8945})
key := make([]byte, KEY_LEN)
- f := NewCryptFS(key, true)
+ f := NewCryptFS(key, true, false)
for _, r := range ranges {
parts := f.ExplodePlainRange(r.offset, r.length)
@@ -48,7 +48,7 @@ func TestCiphertextRange(t *testing.T) {
testRange{6654, 8945})
key := make([]byte, KEY_LEN)
- f := NewCryptFS(key, true)
+ f := NewCryptFS(key, true, false)
for _, r := range ranges {
@@ -70,7 +70,7 @@ func TestCiphertextRange(t *testing.T) {
func TestBlockNo(t *testing.T) {
key := make([]byte, KEY_LEN)
- f := NewCryptFS(key, true)
+ f := NewCryptFS(key, true, false)
b := f.CipherOffToBlockNo(788)
if b != 0 {