summaryrefslogtreecommitdiff
path: root/internal/nametransform
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-12-19 14:50:52 +0100
committerJakob Unterwurzacher2021-12-19 14:50:52 +0100
commit5749e70c7cc4365d6de6a4d5afb73d71d0c10003 (patch)
tree3ac298b9537d84c292521fb75c33f0cf3d099788 /internal/nametransform
parent8d8b76dcac1340c3aa86d9883f99bfffb3eccd60 (diff)
nametransform: fix oversight in comment
Diffstat (limited to 'internal/nametransform')
-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 {