aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cryptfs/cryptfs_content.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cryptfs/cryptfs_content.go b/cryptfs/cryptfs_content.go
index 374b4f4..5350ec7 100644
--- a/cryptfs/cryptfs_content.go
+++ b/cryptfs/cryptfs_content.go
@@ -21,7 +21,8 @@ func (be *CryptFS) DecryptBlocks(ciphertext []byte) ([]byte, error) {
var pBuf bytes.Buffer
for cBuf.Len() > 0 {
cBlock := cBuf.Next(int(be.cipherBS))
- pBlock, err := be.DecryptBlock(cBlock)
+ var pBlock []byte
+ pBlock, err = be.DecryptBlock(cBlock)
if err != nil {
break
}