From 5749e70c7cc4365d6de6a4d5afb73d71d0c10003 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 19 Dec 2021 14:50:52 +0100 Subject: nametransform: fix oversight in comment --- internal/nametransform/xattr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3