nametransform: fix oversight in comment

This commit is contained in:
Jakob Unterwurzacher 2021-12-19 14:50:52 +01:00
parent 8d8b76dcac
commit 5749e70c7c

View File

@ -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 {