summaryrefslogtreecommitdiff
path: root/internal/contentenc/content_test.go
diff options
context:
space:
mode:
authorM. Vefa Bicakci2017-03-07 12:09:09 +0300
committerJakob Unterwurzacher2017-03-07 20:46:58 +0100
commitd48ccb3ddab71773a991b8f1b062901ff5b435b0 (patch)
tree54aab9db59a7d7cc43ca2e1199d6f9aa1ff388c4 /internal/contentenc/content_test.go
parent6e9b6e17c33b4471c30248c11b292468fe4ab912 (diff)
Report correct symbolic link dentry sizes
Prior to this commit, gocryptfs's reverse mode did not report correct directory entry sizes for symbolic links, where the dentry size needs to be the same as the length of a string containing the target path. This commit corrects this issue and adds a test case to verify the correctness of the implementation. This issue was discovered during the use of a strict file copying program on a reverse-mounted gocryptfs file system.
Diffstat (limited to 'internal/contentenc/content_test.go')
0 files changed, 0 insertions, 0 deletions