diff options
Diffstat (limited to 'cryptfs/names_test.go')
-rw-r--r-- | cryptfs/names_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptfs/names_test.go b/cryptfs/names_test.go index ccf08df..1ad3391 100644 --- a/cryptfs/names_test.go +++ b/cryptfs/names_test.go @@ -15,8 +15,8 @@ func TestTranslatePath(t *testing.T) { fs := NewCryptFS(key, true, false) for _, n := range s { - c := fs.EncryptPath(n) - d, err := fs.DecryptPath(c) + c, err := fs.TranslatePathZeroIV(n, OpEncrypt) + d, err := fs.TranslatePathZeroIV(c, OpDecrypt) if err != nil { t.Errorf("Got error from DecryptName: %s", err) } |