diff options
author | Jakob Unterwurzacher | 2016-09-25 18:56:23 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-09-25 18:56:23 +0200 |
commit | c7b3150afc26a6992c6059002c84b1afc236f663 (patch) | |
tree | a1ec4b0261d4949e7fdee5e2f4da95335c18da54 /internal/fusefrontend | |
parent | abd61d968d80a54b366bf65b9dc1fcf2c5bfa1e1 (diff) |
nametransform: delete unused function DecryptPathDirIV
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r-- | internal/fusefrontend/names.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/internal/fusefrontend/names.go b/internal/fusefrontend/names.go index 54b41ae..3833479 100644 --- a/internal/fusefrontend/names.go +++ b/internal/fusefrontend/names.go @@ -50,13 +50,3 @@ func (fs *FS) encryptPath(plainPath string) (string, error) { fs.dirIVLock.RUnlock() return cPath, err } - -// decryptPath - decrypt relative ciphertext path -func (fs *FS) decryptPath(cipherPath string) (string, error) { - if fs.args.PlaintextNames { - return cipherPath, nil - } - fs.dirIVLock.RLock() - defer fs.dirIVLock.RUnlock() - return fs.nameTransform.DecryptPathDirIV(cipherPath, fs.args.Cipherdir) -} |