summaryrefslogtreecommitdiff
path: root/cryptfs/names_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/names_test.go
parent6db57b15c9ffdcd53a35cb1e0f45984735fc71ac (diff)
Fix tests broken by PlaintextNames addition
Diffstat (limited to 'cryptfs/names_test.go')
-rw-r--r--cryptfs/names_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptfs/names_test.go b/cryptfs/names_test.go
index 14c15c1..ccf08df 100644
--- a/cryptfs/names_test.go
+++ b/cryptfs/names_test.go
@@ -12,7 +12,7 @@ func TestTranslatePath(t *testing.T) {
s = append(s, "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890")
key := make([]byte, KEY_LEN)
- fs := NewCryptFS(key, true)
+ fs := NewCryptFS(key, true, false)
for _, n := range s {
c := fs.EncryptPath(n)
@@ -34,7 +34,7 @@ func TestPad16(t *testing.T) {
s = append(s, []byte("12345678901234567abcdefg"))
key := make([]byte, KEY_LEN)
- fs := NewCryptFS(key, true)
+ fs := NewCryptFS(key, true, false)
for i := range s {
orig := s[i]