summaryrefslogtreecommitdiff
path: root/cryptfs/cryptfs_content.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-04 00:26:20 +0200
committerJakob Unterwurzacher2015-10-04 00:26:20 +0200
commit40448db90971b42d9e5e7b7b7918f36283575759 (patch)
tree68d9963ad93a92156624454663b00dc8abf24334 /cryptfs/cryptfs_content.go
parent0802175328821ff2d342d70a88cb9ff3d5d88963 (diff)
Fix xfstests generic/030 failure
The actual fix is oldSize := f.cfs.PlainSize(uint64(fi.Size())) the rest is logging improvements
Diffstat (limited to 'cryptfs/cryptfs_content.go')
-rw-r--r--cryptfs/cryptfs_content.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptfs/cryptfs_content.go b/cryptfs/cryptfs_content.go
index a4dc78a..a903e02 100644
--- a/cryptfs/cryptfs_content.go
+++ b/cryptfs/cryptfs_content.go
@@ -79,6 +79,7 @@ func (be *CryptFS) DecryptBlock(ciphertext []byte) ([]byte, error) {
if err != nil {
Warn.Printf("DecryptBlock: %s, len=%d, md5=%s\n", err.Error(), len(ciphertextOrig), Warn.Md5sum(ciphertextOrig))
+ Debug.Println(hex.Dump(ciphertextOrig))
return nil, err
}