libgocryptfs: update to gocryptfs v2.3.2
This commit is contained in:
commit
ab3e788676
@ -174,6 +174,7 @@ func (volume *Volume) translateSize(dirfd int, cName string, st *syscall.Stat_t)
|
|||||||
if isRegular(st.Mode) {
|
if isRegular(st.Mode) {
|
||||||
size = volume.contentEnc.CipherSizeToPlainSize(uint64(st.Size))
|
size = volume.contentEnc.CipherSizeToPlainSize(uint64(st.Size))
|
||||||
} else if isSymlink(st.Mode) {
|
} else if isSymlink(st.Mode) {
|
||||||
|
// read and decrypt target
|
||||||
target := volume.readlink(dirfd, cName)
|
target := volume.readlink(dirfd, cName)
|
||||||
size = uint64(len(target))
|
size = uint64(len(target))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user