aboutsummaryrefslogtreecommitdiff
path: root/cryptfs/cryptfs_content.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-09-05 20:36:26 +0200
committerJakob Unterwurzacher2015-09-05 20:36:26 +0200
commitd0524ded993f870c2dd8a559efed0d612e85d588 (patch)
treed6bd42b690eb5642378b7cf3404b6889541fe183 /cryptfs/cryptfs_content.go
parent11fb037e7e7d84405b3bed9de2aa500e49d9502d (diff)
Use Debug object instead of fmt
Diffstat (limited to 'cryptfs/cryptfs_content.go')
-rw-r--r--cryptfs/cryptfs_content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptfs/cryptfs_content.go b/cryptfs/cryptfs_content.go
index b3c7f95..0ebf34d 100644
--- a/cryptfs/cryptfs_content.go
+++ b/cryptfs/cryptfs_content.go
@@ -22,7 +22,7 @@ func (be *CryptFS) DecryptBlock(ciphertext []byte) ([]byte, error) {
}
if len(ciphertext) < NONCE_LEN {
- warn.Printf("decryptBlock: Block is too short: %d bytes\n", len(ciphertext))
+ Warn.Printf("decryptBlock: Block is too short: %d bytes\n", len(ciphertext))
return nil, errors.New("Block is too short")
}