libgocryptfs: update to gocryptfs v2.3.2

This commit is contained in:
Matéo Duparc 2023-05-07 13:38:01 +02:00
commit ab3e788676
Signed by: hardcoresushi
GPG Key ID: AFE384344A45E13A

View File

@ -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))
} }