From c7b3150afc26a6992c6059002c84b1afc236f663 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 25 Sep 2016 18:56:23 +0200 Subject: nametransform: delete unused function DecryptPathDirIV --- internal/fusefrontend/names.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'internal/fusefrontend/names.go') 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) -} -- cgit v1.2.3