nametransform: fix oversight in comment
This commit is contained in:
parent
8d8b76dcac
commit
5749e70c7c
|
@ -33,7 +33,7 @@ func (n *NameTransform) EncryptXattrName(plainName string) (cipherName64 string,
|
||||||
return n.encryptName(plainName, xattrNameIV), nil
|
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
|
// filename "cipherName", and failing that checks if it can be bypassed
|
||||||
func (n *NameTransform) DecryptXattrName(cipherName string) (plainName string, err error) {
|
func (n *NameTransform) DecryptXattrName(cipherName string) (plainName string, err error) {
|
||||||
if plainName, err = n.decryptName(cipherName, xattrNameIV); err != nil {
|
if plainName, err = n.decryptName(cipherName, xattrNameIV); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue