Skip to content

Commit

Permalink
nametransform: fix oversight in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rfjakob committed Dec 19, 2021
1 parent 8d8b76d commit 5749e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/nametransform/xattr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5749e70

Please sign in to comment.