aboutsummaryrefslogtreecommitdiff
path: root/internal/nametransform/xattr.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/nametransform/xattr.go')
-rw-r--r--internal/nametransform/xattr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/nametransform/xattr.go b/internal/nametransform/xattr.go
index 0aa0fd8..721c4e4 100644
--- a/internal/nametransform/xattr.go
+++ b/internal/nametransform/xattr.go
@@ -33,7 +33,7 @@ func (n *NameTransform) EncryptXattrName(plainName string) (cipherName64 string,
return n.encryptName(plainName, xattrNameIV), nil
}
-// DecryptName calls decryptName to try and decrypt a base64-encoded encrypted
+// DecryptXattrName calls decryptName to try and decrypt a base64-encoded encrypted
// filename "cipherName", and failing that checks if it can be bypassed
func (n *NameTransform) DecryptXattrName(cipherName string) (plainName string, err error) {
if plainName, err = n.decryptName(cipherName, xattrNameIV); err != nil {