diff options
author | Jakob Unterwurzacher | 2015-11-27 00:03:10 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-27 00:03:10 +0100 |
commit | decfc1ab798055234e16a2e9c0782f56ae50669b (patch) | |
tree | bdff27eb861a17399b66e28883abfd2624b184c1 /cryptfs/names_test.go | |
parent | fe2fcf6c162a8370670fd1262b90925bf321f199 (diff) |
diriv: Convert filename encryption users to diriv
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) } |